instance property

The default instance of AwesomeNotificationsFcmPlatform to use.

Defaults to MethodChannelAwesomeNotificationsFcm.

Implementation

static AwesomeNotificationsFcmPlatform get instance => _instance;
set instance (AwesomeNotificationsFcmPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends AwesomeNotificationsFcmPlatform when they register themselves.

Implementation

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