Josh Lambright

Results 15 comments of Josh Lambright

I think this is the root cause of the issue: https://github.com/rrousselGit/freezed/issues/1240

Yes. There was a switch moving towards abstract and sealed classes for freezed. I can't remember which version that started with. On Tue, Sep 30, 2025, 8:58 AM Markus ***@***.***>...

That's the question, a person could leverage a post build script, to add the correct keywords, but that is tedious and has the potential to introduce problems. Ideally, we'd get...

Here is a sample post-gen script: ```dart #!/usr/bin/env dart import 'dart:io'; Future main() async { print('Fixing generated freezed models...'); final modelsDir = Directory('lib/gen/models'); if (!await modelsDir.exists()) { print('Error: lib/gen/models directory...