stopEffect method Null safety
- int effectId
Stop playing a specified audio effect file.
effectId ID of a specified audio effect. Each audio effect has a unique ID.
Implementation
Future<int> stopEffect(int effectId) async {
IntValue reply = await _api.stopEffect(IntValue()..value = effectId);
return reply.value ?? -1;
}