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