File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ class PullRequestInformation {
59
59
60
60
PullRequestInformation ([this .isCompletePullRequest = false ]);
61
61
62
- static PullRequestInformation fromJSON (Map <String , dynamic > input, [PullRequestInformation into]) {
62
+ static PullRequestInformation fromJSON (Map <String , dynamic > input,
63
+ [PullRequestInformation into]) {
63
64
if (input == null ) return null ;
64
65
65
66
var pr = into != null ? into : PullRequestInformation ();
@@ -134,7 +135,10 @@ class PullRequest extends PullRequestInformation {
134
135
pr.additionsCount = input['additions' ];
135
136
pr.deletionsCount = input['deletions' ];
136
137
pr.changedFilesCount = input['changed_files' ];
137
- pr.labels = input['labels' ]? .cast <Map <String , dynamic >>()? .map <IssueLabel >(IssueLabel .fromJSON)? .toList ();
138
+ pr.labels = input['labels' ]
139
+ ? .cast <Map <String , dynamic >>()
140
+ ? .map <IssueLabel >(IssueLabel .fromJSON)
141
+ ? .toList ();
138
142
return pr;
139
143
}
140
144
}
You can’t perform that action at this time.
0 commit comments