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