getVideoDeviceList method
Implementation
Future<List> getVideoDeviceList() async {
var result = await (() {
Map completerMap = createCompleter();
ZegoFlutterEngine.instance
.getVideoDeviceList(completerMap["success"], completerMap["fail"]);
return completerMap["completer"].future;
})();
return formatDeviceList(jsonDecode(result));
}