instance property

The default instance of SupertonicFlutterPlatform to use.

Defaults to MethodChannelSupertonicFlutter.

Implementation

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

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

Implementation

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