getMaxLevel method
Gets the maximum volume level for type
.
Implementation
Future<int> getMaxLevel(AudioVolumeType type) async {
final int? level = await AudioManager._channel.invokeMethod<int>(
'getMaxLevel',
<String, String>{'type': type.name},
);
return level!;
}