instance property

FidoPlatform get instance

The default instance of FidoPlatform to use.

Defaults to MethodChannelFido.

Implementation

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

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

Implementation

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