toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var done = this.done;
  var inProgress = this.inProgress;
  var toDo = this.toDo;
  var unmapped = this.unmapped;

  final json = <String, Object?>{};
  if (done != null) {
    json[r'done'] = done;
  }
  if (inProgress != null) {
    json[r'inProgress'] = inProgress;
  }
  if (toDo != null) {
    json[r'toDo'] = toDo;
  }
  if (unmapped != null) {
    json[r'unmapped'] = unmapped;
  }
  return json;
}