playSoundEffect method

Future<void> playSoundEffect(
  1. AndroidSoundEffectType effectType, {
  2. double? volume,
})

(UNTESTED)

Implementation

Future<void> playSoundEffect(AndroidSoundEffectType effectType,
    {double? volume}) async {
  // TODO: support variant with userId parameter.
  await _channel.invokeMethod('playSoundEffect', [effectType.index, volume]);
}