PullRequest class Null safety

Model class for a Pull Request.



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 = ''})
PullRequest.fromJson(Map<String, dynamic> input)


additionsCount int?
Number of additions
@JsonKey(name: 'additions'), read / write
authorAssociation String?
read / write
base PullRequestHead?
Pull Request Base
read / write
body String?
Pull Request Body
read / write
changedFilesCount int?
Number of changed files
@JsonKey(name: 'changed_files'), read / write
closedAt DateTime?
Time the pull request was closed
read / write
commentsCount int?
Number of comments
@JsonKey(name: 'comments'), read / write
commitsCount int?
Number of commits
@JsonKey(name: 'commits'), read / write
createdAt DateTime?
Time the pull request was created
read / write
deletionsCount int?
Number of deletions
@JsonKey(name: 'deletions'), read / write
diffUrl String?
Url to the diff for this Pull Request
read / write
draft bool?
Whether or not the pull request is a draft
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
The Pull Request Head
read / write
htmlUrl String?
Url to the Pull Request Page
read / write
id int?
Pull Request ID
read / write
labels List<IssueLabel>?
Pull Request Labels
read / write
maintainerCanModify bool?
read / write
mergeable bool?
If the pull request is mergeable
read / write
mergeableState String?
read / write
mergeCommitSha String?
read / write
merged bool?
If the pull request was merged
read / write
mergedAt DateTime?
Time the pull request was merged
read / write
mergedBy User?
The user who merged the pull request
read / write
milestone Milestone?
read / write
number int?
Pull Request Number
read / write
patchUrl String?
Url to the patch for this Pull Request
read / write
rebaseable bool?
read / write
requestedReviewers List<User>?
Reviewers requested for this Pull Request.
read / write
reviewCommentCount int?
The number of review comments on the Pull Request.
@JsonKey(name: 'review_comments'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String?
Pull Request State
read / write
title String?
Pull Request Title
read / write
updatedAt DateTime?
Time the pull request was updated
read / write
user User?
The User who created the Pull Request
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]