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