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