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