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