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