currentUser property

UserPlatform? currentUser

Returns the current User if they are currently signed-in, or null if not.

You should not use this getter to determine the users current state, instead use authStateChanges, idTokenChanges or userChanges to subscribe to updates.

Implementation

UserPlatform? get currentUser {
  throw UnimplementedError('get.currentUser is not implemented');
}
void currentUser=(UserPlatform? userPlatform)

Sets the current user for the instance.

Implementation

set currentUser(UserPlatform? userPlatform) {
  throw UnimplementedError('set.currentUser is not implemented');
}