playAudioEffect method
Implementation
Future<int> playAudioEffect(
int effectId,
int volume, [
int loop = 1,
]) async {
Map<String, dynamic> arguments = {
'id': effectId,
'volume': volume,
'loop': loop,
};
int code = await _channel.invokeMethod('playAudioEffect', arguments) ?? -1;
return code;
}