toJson method
Implementation
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
if (href != null) {
_json["href"] = href;
}
if (type != null) {
_json["type"] = type;
}
return _json;
}