Skip to content

Commit

Permalink
fix: fix dart analyzer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wxxedu committed Feb 24, 2024
1 parent 32e694e commit bfff321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/lib/model_repository_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Future<Struct> convertStruct(ClassElement elem, BuildStep step) async {
cstor,
);
}
for (final (i, e) in cstor.parameters.indexed) {
for (final (_, e) in cstor.parameters.indexed) {
final field = convertField(e);
if (field != null) fields.add(field);
}
Expand Down

0 comments on commit bfff321

Please sign in to comment.