instance property

The default instance of IdataLabelPrinterPlatform to use.

Defaults to MethodChannelIdataLabelPrinter.

Implementation

static IdataLabelPrinterPlatform get instance => _instance;
set instance (IdataLabelPrinterPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends IdataLabelPrinterPlatform when they register themselves.

Implementation

static set instance(IdataLabelPrinterPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}