instance property
ConfidenceFlutterSdkPlatform
get
instance
The default instance of ConfidenceFlutterSdkPlatform to use.
Defaults to MethodChannelConfidenceFlutterSdk.
Implementation
static ConfidenceFlutterSdkPlatform get instance => _instance;
set
instance
(ConfidenceFlutterSdkPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends ConfidenceFlutterSdkPlatform when they register themselves.
Implementation
static set instance(ConfidenceFlutterSdkPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}