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