listFromJson static method

List<DecodeBarcodeType> listFromJson(
  1. List json
)

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

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

Implementation

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