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