listFromJson static method

List<DataMatrixEncodeMode> listFromJson(
  1. List json
)

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

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

Implementation

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