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