instance property

The default instance of TcmppFlutterWebaudioPlatform to use.

Defaults to MethodChannelTcmppFlutterWebaudio.

Implementation

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

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

Implementation

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