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 (allowedRequestExtensions != null) {
    _json["allowedRequestExtensions"] = allowedRequestExtensions;
  }
  if (allowedResponseExtensions != null) {
    _json["allowedResponseExtensions"] = allowedResponseExtensions;
  }
  if (provided != null) {
    _json["provided"] = provided;
  }
  if (requested != null) {
    _json["requested"] = requested;
  }
  if (selector != null) {
    _json["selector"] = selector;
  }
  return _json;
}