PullRequest constructor Null safety

PullRequest(
  1. {int? id,
  2. String? htmlUrl,
  3. String? diffUrl,
  4. String? patchUrl,
  5. int? number,
  6. String? state,
  7. String? title,
  8. String? body,
  9. DateTime? createdAt,
  10. DateTime? updatedAt,
  11. DateTime? closedAt,
  12. DateTime? mergedAt,
  13. PullRequestHead? head,
  14. PullRequestHead? base,
  15. User? user,
  16. bool? draft,
  17. String? mergeCommitSha,
  18. bool? merged,
  19. bool? mergeable,
  20. User? mergedBy,
  21. int? commentsCount,
  22. int? commitsCount,
  23. int? additionsCount,
  24. int? deletionsCount,
  25. int? changedFilesCount,
  26. List<IssueLabel>? labels}
)

Implementation

PullRequest({
  this.id,
  this.htmlUrl,
  this.diffUrl,
  this.patchUrl,
  this.number,
  this.state,
  this.title,
  this.body,
  this.createdAt,
  this.updatedAt,
  this.closedAt,
  this.mergedAt,
  this.head,
  this.base,
  this.user,
  this.draft,
  this.mergeCommitSha,
  this.merged,
  this.mergeable,
  this.mergedBy,
  this.commentsCount,
  this.commitsCount,
  this.additionsCount,
  this.deletionsCount,
  this.changedFilesCount,
  this.labels,
});