We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be16b4d commit 1659d07Copy full SHA for 1659d07
lib/src/common/model/pulls.dart
@@ -84,6 +84,8 @@ class PullRequest extends PullRequestInformation {
84
@ApiName("merge_commit_sha")
85
String mergeCommitSha;
86
87
+ Repository repository;
88
+
89
/// If the pull request was merged
90
bool merged;
91
@@ -117,6 +119,7 @@ class PullRequest extends PullRequestInformation {
117
119
PullRequest pr = PullRequestInformation.fromJSON(input, new PullRequest());
118
120
pr.mergeable = input['mergeable'];
121
pr.merged = input['merged'];
122
+ pr.repository = Repository.fromJSON(input['repository']);
123
pr.mergedBy = User.fromJSON(input['merged_by']);
124
pr.mergeCommitSha = input['merge_commit_sha'];
125
pr.commentsCount = input['comments'];
0 commit comments