listFromJson static method
Implementation
static List<ApplicationAgreement> listFromJson(List<dynamic>? json) {
if (json == null) {
return <ApplicationAgreement>[];
}
return json.fold(<ApplicationAgreement>[],
(List<ApplicationAgreement> previousValue, element) {
final ApplicationAgreement? object =
ApplicationAgreement.fromJson(element);
if (object is ApplicationAgreement) {
previousValue.add(object);
}
return previousValue;
});
}