convertResults function

List<BarcodeResult> convertResults(
  1. List<Map> ret
)

Convert List<Map<dynamic, dynamic>> to List

Implementation

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