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