instance property

PassMtxPlatform instance

The default instance of PassMtxPlatform to use.

Defaults to MethodChannelPassMtx.

Implementation

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

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

Implementation

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