instance property

StkMinPlatform get instance

The default instance of StkMinPlatform to use.

Defaults to MethodChannelStkMin.

Implementation

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

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

Implementation

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