instance property

OverrideDialogPlatform get instance

The default instance of OverrideDialogPlatform to use.

Defaults to MethodChannelOverrideDialog.

Implementation

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

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

Implementation

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