setAudioMixingPlaybackVolume method Null safety

Future<int> setAudioMixingPlaybackVolume(
  1. int volume
)

Sets the playback volume of a mixing audio stream.

Implementation

Future<int> setAudioMixingPlaybackVolume(int volume) async {
  IntValue reply =
      await _api.setAudioMixingPlaybackVolume(IntValue()..value = volume);
  return reply.value ?? -1;
}