registerWith static method
Implementation
static void registerWith(Registrar registrar) {
WidgetsFlutterBinding.ensureInitialized();
final instance = FlutterMidiPlugin();
final MethodChannel channel = MethodChannel(
'flutter_midi',
const StandardMethodCodec(),
registrar.messenger,
);
channel.setMethodCallHandler(instance.handleMethodCall);
}