listFromJsonArray static method

List<EncryptedPassportElement> listFromJsonArray(
  1. List json
)

Creates a list of object from a json array

Implementation

static List<EncryptedPassportElement> listFromJsonArray(List<dynamic> json) {
  return List.generate(
    json.length,
    (i) => EncryptedPassportElement.fromJson(json[i]),
  );
}