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