instance property

The default instance of FlutterSecurityRaspPlatform to use.

Defaults to MethodChannelFlutterSecurityRasp.

Implementation

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

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

Implementation

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