disposeSynth method

  1. @override
Future<void> disposeSynth(
  1. String synthId
)
override

Implementation

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