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