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