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

**Is your feature request related to a problem? Please describe.** Sometimes it's helpful for debugging to have the result of some getters in the `toString()` method. **Describe the solution you'd...

enhancement
good first issue

**Is your feature request related to a problem? Please describe.** The API I'm using provides data like so: ```json { "generalData": {} "catInfo" {}, } ``` ```json { "generalData": {}...

enhancement

**Describe the bug** The generated `freezed` code does not satisfy the required methods imposed by the extended abstract class. A reason why this can't be "just changed" by the developer...

bug
needs triage

This bug is marked as closed, but as of 18th Sep. 2021 and version 0.14.5 - it is not (fully fixed). Example: ``` /// importing library from another package with...

bug
wontfix

Hi, **Describe the bug** **Failed to generate with a @Default containing a blurHash (https://github.com/woltapp/blurhash)** Ex : > @Default('U3CZbEof00j[RjWBIUof00Rj~qt7xuayxuj[') It failed to decode the '[' characters. ``` [SEVERE] freezed:freezed on lib/core/models/pictures/picture_model.dart:...

bug

Example: ```dart @freezed class Example with _$Example { factory Example( @JsonKey() // invalid_annotation_target String value, ) = _Example } ```

enhancement

The generated code for copyWith can be reduced in some situations. For example if there is no need for "deep copy", some classes can be removed. It's also possible to...

enhancement

https://gist.github.com/dannnnthemannnn/f22b94c586c26a0909be073d2cceed42 ``` @freezed abstract class Discussion with _$Discussion { factory Discussion({ DateTime scheduledTime, bool isPublic, List participantIds, }) = _Discussion; // Add Helper field name somehow to generated class similar...

enhancement

(great job Remi!) I wasn't sure how to title this! It isn't possible to do the following because the properties are only available if all factory methods have that property....

enhancement