instance property

MyqrscanPlatform get instance

The default instance of MyqrscanPlatform to use.

Defaults to MethodChannelMyqrscan.

Implementation

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

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

Implementation

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