instance property
FirebaseMessagingPlatform
instance
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;
}
Sets the FirebaseMessagingPlatform.instance
Implementation
static set instance(FirebaseMessagingPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}