ResourceRecordSetsListResponse.fromJson constructor

ResourceRecordSetsListResponse.fromJson(
  1. Map _json
)

Implementation

ResourceRecordSetsListResponse.fromJson(core.Map _json) {
  if (_json.containsKey("header")) {
    header = new ResponseHeader.fromJson(_json["header"]);
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("rrsets")) {
    rrsets = (_json["rrsets"] as core.List)
        .map<ResourceRecordSet>(
            (value) => new ResourceRecordSet.fromJson(value))
        .toList();
  }
}