convertResults function
Convert List<Map<dynamic, dynamic>> to List
Implementation
List<BarcodeResult> convertResults(List<Map<dynamic, dynamic>> ret) {
return ret.map((data) => BarcodeResult.fromJson(data)).toList();
}
Convert List<Map<dynamic, dynamic>> to List
List<BarcodeResult> convertResults(List<Map<dynamic, dynamic>> ret) {
return ret.map((data) => BarcodeResult.fromJson(data)).toList();
}