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