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