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