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