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