toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (administrator != null) {
    _json["administrator"] = (administrator).toJson();
  }
  if (anonymous != null) {
    _json["anonymous"] = (anonymous).toJson();
  }
  if (impersonation != null) {
    _json["impersonation"] = (impersonation).toJson();
  }
  if (system != null) {
    _json["system"] = (system).toJson();
  }
  if (user != null) {
    _json["user"] = (user).toJson();
  }
  return _json;
}