mapListFromJson static method

Map<String, List<ContributionLinksContributorIriTemplate>> mapListFromJson(
  1. Map<String, dynamic>? json
)

Implementation

static Map<String, List<ContributionLinksContributorIriTemplate>>
    mapListFromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return <String, List<ContributionLinksContributorIriTemplate>>{};
  }

  return json.map((key, value) {
    return MapEntry<String, List<ContributionLinksContributorIriTemplate>>(
        key, ContributionLinksContributorIriTemplate.listFromJson(value));
  });
}