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