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