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 (header != null) {
    _json["header"] = (header).toJson();
  }
  if (policy != null) {
    _json["policy"] = (policy).toJson();
  }
  return _json;
}