instance property

The default instance of BrainDevBusinessPlatform to use.

Defaults to MethodChannelBrainDevBusiness.

Implementation

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

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

Implementation

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