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