instance property
FlutterMidi16kbPlatform
get
instance
The default instance of FlutterMidi16kbPlatform to use.
Defaults to MethodChannelFlutterMidi16kb.
Implementation
static FlutterMidi16kbPlatform get instance => _instance;
set
instance
(FlutterMidi16kbPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterMidi16kbPlatform when they register themselves.
Implementation
static set instance(FlutterMidi16kbPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}