listFromJsonArray static method
Creates a list of object from a json array
Implementation
static List<PassportFile> listFromJsonArray(List<dynamic> json) {
return List.generate(
json.length,
(i) => PassportFile.fromJson(json[i]),
);
}
Creates a list of object from a json array
static List<PassportFile> listFromJsonArray(List<dynamic> json) {
return List.generate(
json.length,
(i) => PassportFile.fromJson(json[i]),
);
}