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