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 (endClosed != null) {
    _json["endClosed"] = endClosed;
  }
  if (endOpen != null) {
    _json["endOpen"] = endOpen;
  }
  if (startClosed != null) {
    _json["startClosed"] = startClosed;
  }
  if (startOpen != null) {
    _json["startOpen"] = startOpen;
  }
  return _json;
}