updateSynth method

  1. @override
Future<void> updateSynth(
  1. String synthId,
  2. SynthKitSynthOptions options
)
override

Implementation

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