freezed
freezed copied to clipboard
Code generation for immutable classes that has a simple syntax/API without compromising on the features.
Hello, The models generated by Freezed are very useful for many developers, including me ! So first of all, thank you for this package. However, there's one feature that might...
**Describe the bug** LinkedHashMap, HashMap is mutable with @freezed **Expected behavior** LinkedHashMap, HashMap must be immutable
I am using freezed for state class in bloc. ``` part 'example_state.freezed.dart'; @freezed class ExampleState with _$ExampleState { const ExampleState._(); const factory ExampleState({ @Default(ExampleStateBuildStatus.loading) ExampleStateBuildStatus buildStatus, ExampleStateListenStatus? listenStatus, }) =...
**Describe the bug** Hello. When I am generating freezed class with custom converters for fields in freezed class I am getting error > Analyzer error: > const_with_non_constant_argument > > Arguments...
Hello! I think it would be nice to have some kind of argument annotation that would allow us to exclude specific args from toString. Something along the lines of: ```dart...
**Is your feature request related to a problem? Please describe.** support makeCollectionsUnmodifiable in build.yaml **Describe the solution you'd like** . **Describe alternatives you've considered** . **Additional context** .
**Describe the bug** Overriding `toString` does not work. I feel like I must be doing something incredibly stupid, but have boiled this down to simplest thing that should work, and...
This came up in #463 as a solution and finally solved my issue; therefore, I think it's worth documenting. When you need to have both the freezed and JsonSerializer() annotations...
**Describe the bug** I get the following error: ``` Error: type '_Map' is not a subtype of type 'Map' in type cast ``` Because I have a freezed class that...
**Description** When using the freezed package in Flutter, if the part directive is not annotated with the .freezed.dart file name, Dart starts consuming a significant amount of RAM. The memory...