instance property

KcksPluginPlatform get instance

The default instance of KcksPluginPlatform to use.

Defaults to MethodChannelKcksPlugin.

Implementation

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

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

Implementation

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