instance property

The default instance of FirebaseMessagingHandlerPlatform to use.

Defaults to MethodChannelFirebaseMessagingHandler.

Implementation

static FirebaseMessagingHandlerPlatform get instance => _instance;
void instance=(FirebaseMessagingHandlerPlatform 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;
}