instance property Null safety

FirebaseAuthPlatform instance

The current default FirebaseAuthPlatform instance.

It will always default to MethodChannelFirebaseAuth if no other implementation was provided.

Implementation

static FirebaseAuthPlatform get instance {
  _instance ??= MethodChannelFirebaseAuth.instance;
  return _instance!;
}
void instance=(FirebaseAuthPlatform instance)

Sets the FirebaseAuthPlatform.instance

Implementation

static set instance(FirebaseAuthPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}