unloadEffect method Null safety

Future<void> unloadEffect(
  1. int soundId
)

Releases a specified preloaded audio effect from the memory.

Parameter soundId ID of the audio effect. Each audio effect has a unique ID.

Implementation

@override
Future<void> unloadEffect(int soundId) {
  return _invokeMethod('unloadEffect', {
    'soundId': soundId,
  });
}