instance property

CoolestBoyRajPlatform get instance

The default instance of CoolestBoyRajPlatform to use.

Defaults to MethodChannelCoolestBoyRaj.

Implementation

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

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

Implementation

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