getStreamMaxVolume method Null safety

Future<int> getStreamMaxVolume(
  1. AndroidStreamType streamType
)

(UNTESTED)

Implementation

Future<int> getStreamMaxVolume(AndroidStreamType streamType) async {
  return (await _channel
      .invokeMethod<int>('getStreamMaxVolume', [streamType.index]))!;
}