listFromJson static method

List<DataMatrixVersion> listFromJson(
  1. List json
)

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

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

Implementation

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