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