instance property

CiontekPlatform get instance

The default instance of CiontekPlatform to use.

Defaults to MethodChannelCiontek.

Implementation

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

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

Implementation

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