Skip to content

Commit

Permalink
🚑️ Use const.
Browse files Browse the repository at this point in the history
  • Loading branch information
iota9star committed Mar 22, 2023
1 parent c464c22 commit 8899c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/env2dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void _codegen(
..name = 'active'
..type = Reference(active == null ? "String?" : "String")
..static = true
..modifier = FieldModifier.final$
..modifier = FieldModifier.constant
..assignment = active == null ? null : Code("'$active'"))
])
..methods = ListBuilder([
Expand Down

0 comments on commit 8899c8a

Please sign in to comment.