PullRequest constructor

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 = 0,
  22. int? commitsCount = 0,
  23. int? additionsCount = 0,
  24. int? deletionsCount = 0,
  25. int? changedFilesCount = 0,
  26. List<IssueLabel>? labels,
  27. List<User>? requestedReviewers,
  28. int? reviewCommentCount = 0,
  29. Milestone? milestone,
  30. bool? rebaseable = false,
  31. String? mergeableState = '',
  32. bool? maintainerCanModify = false,
  33. String? authorAssociation = '',
})

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 = 0,
  this.commitsCount = 0,
  this.additionsCount = 0,
  this.deletionsCount = 0,
  this.changedFilesCount = 0,
  this.labels,
  this.requestedReviewers,
  this.reviewCommentCount = 0,
  this.milestone,
  this.rebaseable = false,
  this.mergeableState = '',
  this.maintainerCanModify = false,
  this.authorAssociation = '',
});