instance property

ChottuLinkPlatform get instance

The default instance of ChottuLinkPlatform to use.

Defaults to MethodChannelChottuLink.

Implementation

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

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

Implementation

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