getStreamVolume method Null safety

Future<int> getStreamVolume(
  1. AndroidStreamType streamType
)

(UNTESTED)

Implementation

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