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