mapListFromJson static method

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

Implementation

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

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