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