adjustVolume method Null safety

Future<void> adjustVolume(
  1. AndroidAudioAdjustment direction,
  2. AndroidAudioVolumeFlags flags
)

(UNTESTED)

Implementation

Future<void> adjustVolume(
    AndroidAudioAdjustment direction, AndroidAudioVolumeFlags flags) async {
  await _channel.invokeMethod('adjustVolume', [direction.index, flags.value]);
}