instance property

The default instance of MidiCommandPlatform to use.

Defaults to MethodChannelMidiCommand.

Implementation

static MidiCommandPlatform get instance => _instance;
void instance=(MidiCommandPlatform instance)

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

Implementation

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