getMaxVol method Null safety
- StreamType streamType
Returns max volume for a streamType
int notificationMaxVol = await RealVolume.getMaxVol(StreamType.NOTIFICATION);
Implementation
static Future<int?> getMaxVol(StreamType streamType) async {
final int? version = await _methodChannel
.invokeMethod('getMaxVol', {'streamType': streamType.index});
return version;
}