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