getDevices method

Requires API level 23

Implementation

Future<List<AndroidAudioDeviceInfo>> getDevices(
    AndroidGetAudioDevicesFlags flags) async {
  return _decodeAudioDevices(
      (await _channel.invokeMethod<dynamic>('getDevices', [flags.value]))!);
}