instance property

Kozen_pPlatform get instance

The default instance of Kozen_pPlatform to use.

Defaults to MethodChannelKozen_p.

Implementation

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

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

Implementation

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