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