instance property

ZebraDataWedgePlatform get instance

The default instance of ZebraDataWedgePlatform to use.

Defaults to MethodChannelZebraDataWedge.

Implementation

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

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

Implementation

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