instance property

AwesomeBubblePlatform get instance

The default instance of AwesomeBubblePlatform to use.

Defaults to MethodChannelAwesomeBubble.

Implementation

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

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

Implementation

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