category property
Future<AVAudioSessionCategory>
category
(UNTESTED)
Implementation
Future<AVAudioSessionCategory> get category async {
final index = (await (_channel.invokeMethod<int>('getCategory')))!;
return decodeEnum(AVAudioSessionCategory.values, index,
defaultValue: AVAudioSessionCategory.playback);
}