ReplaceSitesResponse.fromJson constructor

ReplaceSitesResponse.fromJson(
  1. Map json_
)

Implementation

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