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 {
5959
6060 PullRequestInformation ([this .isCompletePullRequest = false ]);
6161
62- static PullRequestInformation fromJSON (Map <String , dynamic > input, [PullRequestInformation into]) {
62+ static PullRequestInformation fromJSON (Map <String , dynamic > input,
63+ [PullRequestInformation into]) {
6364 if (input == null ) return null ;
6465
6566 var pr = into != null ? into : PullRequestInformation ();
@@ -134,7 +135,10 @@ class PullRequest extends PullRequestInformation {
134135 pr.additionsCount = input['additions' ];
135136 pr.deletionsCount = input['deletions' ];
136137 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 ();
138142 return pr;
139143 }
140144}
You can’t perform that action at this time.
0 commit comments