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