diff --git a/lib/env2dart.dart b/lib/env2dart.dart index 08df83a..be00898 100644 --- a/lib/env2dart.dart +++ b/lib/env2dart.dart @@ -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([