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