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