getLocalUser method

Future<User?> getLocalUser()

Returns the cached signed-in user without refreshing from the network.

Implementation

Future<User?> getLocalUser() {
  return _database.select(_database.users).getSingleOrNull();
}