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