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