instance property

KairoPlatform get instance

The default instance of KairoPlatform to use.

Defaults to MethodChannelKairo.

Implementation

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

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

Implementation

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