instance property

Gpos720PrinterPlatform get instance

The default instance of Gpos720PrinterPlatform to use.

Defaults to MethodChannelGpos720Printer.

Implementation

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

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

Implementation

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