listFromJson static method

List<QRVersion> listFromJson(
  1. List json
)

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

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

Implementation

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