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