Skip to content

Commit 4dd3b65

Browse files
committed
ok, dartfmt cmd line different than in VS Code. weird.
1 parent 17e60c4 commit 4dd3b65

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/src/common/model/pulls.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)