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