freezed icon indicating copy to clipboard operation
freezed copied to clipboard

Code generation for immutable classes that has a simple syntax/API without compromising on the features.

Results 136 freezed issues
Sort by recently updated
recently updated
newest added

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...

enhancement

**Describe the bug** LinkedHashMap, HashMap is mutable with @freezed **Expected behavior** LinkedHashMap, HashMap must be immutable

bug
question

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, }) =...

enhancement

**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...

bug
needs triage

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...

enhancement

**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** .

enhancement

**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...

bug
needs triage

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...

documentation
needs triage

**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...

bug
needs triage

**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...

bug