instance property

OaidKitPlatform instance

The default instance of OaidKitPlatform to use.

Defaults to MethodChannelOaidKit.

Implementation

static OaidKitPlatform get instance => _instance;
void instance=(OaidKitPlatform instance)

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

Implementation

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