instance property

CybexScanTestPlatform get instance

The default instance of CybexScanTestPlatform to use.

Defaults to MethodChannelCybexScanTest.

Implementation

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

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

Implementation

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