instance property

CdsPluginPlatform get instance

The default instance of CdsPluginPlatform to use.

Defaults to MethodChannelCdsPlugin.

Implementation

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

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

Implementation

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