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