instance property

TaeraeFlutterPlatform get instance

The default instance of TaeraeFlutterPlatform to use.

Defaults to MethodChannelTaeraeFlutter.

Implementation

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

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

Implementation

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