Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
snapsl authored Mar 2, 2025
1 parent ae0d7df commit f3da0f5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/freezed/migration_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Classes using the factory constructor now require a keyword `sealed` / `abstract

### Pattern matching

Freezed no longer generates `.map `/`.when` extensions and their derivatives for freezed classes used for pattern matching. Instead, use Dart's built-in [pattern matching](https://dart.dev/language/patterns#matching) syntax.
Freezed no longer generates `.map`/`.when` extensions and their derivatives for freezed classes used for pattern matching. Instead, use Dart's built-in [pattern matching](https://dart.dev/language/patterns#matching) syntax.

```diff
final model = Model.first('42');
Expand Down Expand Up @@ -89,8 +89,3 @@ but won't do anything related to JSON encoding (hence why you need to manually a

This syntax has the benefit of enabling advanced constructor logic, such as
inheritance or non-constant default values.


### Advanced Topics

<TODO>

0 comments on commit f3da0f5

Please sign in to comment.