listFromJson static method

List<QRErrorLevel> listFromJson(
  1. List json
)

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

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

Implementation

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