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