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