listFromJson static method

List<QREncodeType> listFromJson(
  1. List json
)

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

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

Implementation

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