instance property

The default instance of BaseDialogPluginPlatform to use.

Defaults to MethodChannelBaseDialogPlugin.

Implementation

static BaseDialogPluginPlatform get instance => _instance;
set instance (BaseDialogPluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends BaseDialogPluginPlatform when they register themselves.

Implementation

static set instance(BaseDialogPluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}