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