Task constructor Null safety

Task(
  1. {String? completed,
  2. bool? deleted,
  3. String? due,
  4. String? etag,
  5. bool? hidden,
  6. String? id,
  7. String? kind,
  8. List<TaskLinks>? links,
  9. String? notes,
  10. String? parent,
  11. String? position,
  12. String? selfLink,
  13. String? status,
  14. String? title,
  15. String? updated}
)

Implementation

Task({
  this.completed,
  this.deleted,
  this.due,
  this.etag,
  this.hidden,
  this.id,
  this.kind,
  this.links,
  this.notes,
  this.parent,
  this.position,
  this.selfLink,
  this.status,
  this.title,
  this.updated,
});