instance property

CbcpluginPlatform get instance

The default instance of CbcpluginPlatform to use.

Defaults to MethodChannelCbcplugin.

Implementation

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

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

Implementation

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