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 6d02228 commit 18178ecCopy full SHA for 18178ec
lib/src/common/model/pulls.dart
@@ -136,9 +136,9 @@ class PullRequest extends PullRequestInformation {
136
pr.deletionsCount = input['deletions'];
137
pr.changedFilesCount = input['changed_files'];
138
pr.labels = input['labels']
139
- .cast<Map<String, dynamic>>()
140
- .map<IssueLabel>(IssueLabel.fromJSON)
141
- .toList();
+ ?.cast<Map<String, dynamic>>()
+ ?.map<IssueLabel>(IssueLabel.fromJSON)
+ ?.toList();
142
return pr;
143
}
144
0 commit comments