instance property

MinfoSdkPlatform get instance

The default instance of MinfoSdkPlatform to use.

Defaults to MethodChannelMinfoSdk.

Implementation

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

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

Implementation

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