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