instance property

RfidBlePluginPlatform get instance

The default instance of RfidBlePluginPlatform to use.

Defaults to MethodChannelRfidBlePlugin.

Implementation

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

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

Implementation

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