PullRequest constructor
PullRequest({
- int? id,
- String? htmlUrl,
- String? diffUrl,
- String? patchUrl,
- int? number,
- String? state,
- String? title,
- String? body,
- DateTime? createdAt,
- DateTime? updatedAt,
- DateTime? closedAt,
- DateTime? mergedAt,
- PullRequestHead? head,
- PullRequestHead? base,
- User? user,
- bool? draft,
- String? mergeCommitSha,
- bool? merged,
- bool? mergeable,
- User? mergedBy,
- int? commentsCount = 0,
- int? commitsCount = 0,
- int? additionsCount = 0,
- int? deletionsCount = 0,
- int? changedFilesCount = 0,
- List<
IssueLabel> ? labels, - List<
User> ? requestedReviewers, - int? reviewCommentCount = 0,
- Milestone? milestone,
- bool? rebaseable = false,
- String? mergeableState = '',
- bool? maintainerCanModify = false,
- 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 = '',
});