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