currentUser property Null safety

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.


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

Sets the current user for the instance.


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