instance property
FirebaseMessagingHandlerPlatform
instance
The default instance of FirebaseMessagingHandlerPlatform to use.
Defaults to MethodChannelFirebaseMessagingHandler.
Implementation
static FirebaseMessagingHandlerPlatform get instance => _instance;
Platform-specific implementations should set this with their own platform-specific class that extends FirebaseMessagingHandlerPlatform when they register themselves.
Implementation
static set instance(FirebaseMessagingHandlerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}