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