instance property

ContloPluginPlatform get instance

The default instance of ContloPluginPlatform to use.

Defaults to MethodChannelContloPlugin.

Implementation

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

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

Implementation

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