RelatedWebsiteSet.fromJson constructor

RelatedWebsiteSet.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RelatedWebsiteSet.fromJson(Map<String, dynamic> json) {
  return RelatedWebsiteSet(
    primarySites:
        (json['primarySites'] as List).map((e) => e as String).toList(),
    associatedSites:
        (json['associatedSites'] as List).map((e) => e as String).toList(),
    serviceSites:
        (json['serviceSites'] as List).map((e) => e as String).toList(),
  );
}