instance property

FlutterBtPrintPlatform get instance

The default instance of FlutterBtPrintPlatform to use.

Defaults to MethodChannelFlutterBtPrint.

Implementation

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

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

Implementation

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