instance property

The current default FirebaseMessagingPlatform instance.

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

Implementation

static FirebaseMessagingPlatform get instance {
  return _instance ??= MethodChannelFirebaseMessaging.instance;
}
void instance=(FirebaseMessagingPlatform instance)

Implementation

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