instance property

LogkarPlatform get instance

The default instance of LogkarPlatform to use.

Defaults to MethodChannelLogkar.

Implementation

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

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

Implementation

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