instance property

The default instance of FlutterDialogPluginPlatform to use.

Defaults to MethodChannelFlutterDialogPlugin.

Implementation

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

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

Implementation

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