getMidiNote method
Implementation
@override
Future<int> getMidiNote() async {
try {
final result = await _methodChannel.invokeMethod('getMidiNote');
return result ?? 0;
} on PlatformException catch (e) {
throw Exception("Error Retrieving Current MIDI Note: ${e.message}");
}
}