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 (description != null) {
    _json["description"] = description;
  }
  if (expression != null) {
    _json["expression"] = expression;
  }
  if (location != null) {
    _json["location"] = location;
  }
  if (title != null) {
    _json["title"] = title;
  }
  return _json;
}