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 25423e7 commit c644ae3Copy full SHA for c644ae3
lib/src/common/model/issues.dart
@@ -69,8 +69,7 @@ class Issue {
69
..state = input['state']
70
..title = input['title']
71
..user = User.fromJSON(input['user'])
72
- ..labels = labels.map((label) => IssueLabel.fromJSON(label))
73
- .toList(growable: false)
+ ..labels = labels.map(IssueLabel.fromJSON).toList(growable: false)
74
..assignee = User.fromJSON(input['assignee'])
75
..milestone = Milestone.fromJSON(input['milestone'])
76
..commentsCount = input['comments']
0 commit comments