mapFromJson static method
Implementation
static Map<String, ReviewLinksAuthor> mapFromJson(
Map<String, dynamic>? json) {
if (json == null) {
return <String, ReviewLinksAuthor>{};
}
return json.entries.fold(<String, ReviewLinksAuthor>{},
(Map<String, ReviewLinksAuthor> previousValue, element) {
final ReviewLinksAuthor? object =
ReviewLinksAuthor.fromJson(element.value);
if (object is ReviewLinksAuthor) {
previousValue[element.key] = object;
}
return previousValue;
});
}