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 (referenceName != null) {
    _json["referenceName"] = referenceName;
  }
  if (upperBound != null) {
    _json["upperBound"] = upperBound;
  }
  return _json;
}