ListOrgPoliciesResponse.fromJson constructor

ListOrgPoliciesResponse.fromJson(Map _json)

Implementation

ListOrgPoliciesResponse.fromJson(core.Map _json) {
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("policies")) {
    policies = (_json["policies"] as core.List)
        .map<OrgPolicy>((value) => new OrgPolicy.fromJson(value))
        .toList();
  }
}