adjustStreamVolume method Null safety

Future<void> adjustStreamVolume(
  1. AndroidStreamType streamType,
  2. AndroidAudioAdjustment direction,
  3. AndroidAudioVolumeFlags flags
)

(UNTESTED)

Implementation

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