instance property

SunmiKaliPlatform get instance

The default instance of SunmiKaliPlatform to use.

Defaults to MethodChannelSunmiKali.

Implementation

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

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

Implementation

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