instance property

The default instance of FlutterThreatmetrixModulePlatform to use.

Defaults to MethodChannelFlutterThreatmetrixModule.

Implementation

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

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

Implementation

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