cancelScheduledNotes method

  1. @override
Future<void> cancelScheduledNotes({
  1. String? synthId,
})
override

Implementation

@override
Future<void> cancelScheduledNotes({String? synthId}) async {
  final ffiPlatform = _resolvePlatformOrThrow();
  if (ffiPlatform != null) {
    return ffiPlatform.cancelScheduledNotes(synthId: synthId);
  }
  await methodChannel.invokeMethod<void>(
    'cancelScheduledNotes',
    <String, Object?>{'synthId': synthId},
  );
}