ViolatingSitesResponse.fromJson constructor

ViolatingSitesResponse.fromJson(
  1. Map json_
)

Implementation

ViolatingSitesResponse.fromJson(core.Map json_)
    : this(
        violatingSites: json_.containsKey('violatingSites')
            ? (json_['violatingSites'] as core.List)
                .map((value) => SiteSummaryResponse.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );