instance property

MdungPluginPlatform get instance

The default instance of MdungPluginPlatform to use.

Defaults to MethodChannelMdungPlugin.

Implementation

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

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

Implementation

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