instance property

NfcsignerPlatform get instance

The default instance of NfcsignerPlatform to use.

Defaults to MethodChannelNfcsigner.

Implementation

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

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

Implementation

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