listFromJson static method

List<BarcodeResponseList> listFromJson(
  1. List json
)

Converts a list of JSON objects to a list of BarcodeResponseList instances.

@param json The list of JSON objects to convert. @return A list of BarcodeResponseList instances.

Implementation

static List<BarcodeResponseList> listFromJson(List<dynamic> json) {
  return json.map((value) => BarcodeResponseList.fromJson(value)).toList();
}