PullRequest constructor

PullRequest({
  1. int? id,
  2. String? nodeId,
  3. String? htmlUrl,
  4. String? diffUrl,
  5. String? patchUrl,
  6. int? number,
  7. String? state,
  8. String? title,
  9. String? body,
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
  12. DateTime? closedAt,
  13. DateTime? mergedAt,
  14. PullRequestHead? head,
  15. PullRequestHead? base,
  16. User? user,
  17. bool? draft,
  18. String? mergeCommitSha,
  19. bool? merged,
  20. bool? mergeable,
  21. User? mergedBy,
  22. int? commentsCount = 0,
  23. int? commitsCount = 0,
  24. int? additionsCount = 0,
  25. int? deletionsCount = 0,
  26. int? changedFilesCount = 0,
  27. List<IssueLabel>? labels,
  28. List<User>? requestedReviewers,
  29. int? reviewCommentCount = 0,
  30. Milestone? milestone,
  31. bool? rebaseable = false,
  32. String? mergeableState = '',
  33. bool? maintainerCanModify = false,
  34. String? authorAssociation = '',
})

Implementation

PullRequest({
  this.id,
  this.nodeId,
  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 = '',
});