instance property

CobrowseIO get instance

The default instance of CobrowseIO to use.

Defaults to MethodChannelCobrowseIO.

Implementation

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

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

Implementation

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