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