instance property

CdadsPlatform get instance

The default instance of CdadsPlatform to use.

Defaults to MethodChannelCdads.

Implementation

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

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

Implementation

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