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