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