instance property

EmvqrPlatform get instance

Getter for the default instance of EmvqrPlatform.

Implementation

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

Setter for the default instance of EmvqrPlatform.

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

Implementation

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