instance property

MasOaidPlatform get instance

The default instance of MasOaidPlatform to use.

Defaults to MethodChannelMasOaid.

Implementation

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

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

Implementation

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