Worklog constructor

Worklog({
  1. UserDetails? author,
  2. dynamic comment,
  3. DateTime? created,
  4. String? id,
  5. String? issueId,
  6. List<EntityProperty>? properties,
  7. String? self,
  8. DateTime? started,
  9. String? timeSpent,
  10. int? timeSpentSeconds,
  11. UserDetails? updateAuthor,
  12. DateTime? updated,
  13. Visibility? visibility,
})

Implementation

Worklog(
    {this.author,
    this.comment,
    this.created,
    this.id,
    this.issueId,
    List<EntityProperty>? properties,
    this.self,
    this.started,
    this.timeSpent,
    this.timeSpentSeconds,
    this.updateAuthor,
    this.updated,
    this.visibility})
    : properties = properties ?? [];