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