rrousselGit/freezed
Code generation for immutable classes that has a simple syntax/API without compromising on the features. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2432
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
2192 stars · 305 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Freezed is a Dart/Flutter code generator that creates immutable data classes, tagged unions, JSON serialization, copyWith, and equality implementations from simple annotations. It uses build_runner/source_gen to eliminate hundreds of lines of boilerplate model code.
Use cases
- generate immutable data classes in dart
- reduce boilerplate for flutter models
- implement copyWith and equality automatically
- create tagged union types with pattern matching
- add fromJson/toJson serialization to dart classes
- model sealed class-like unions in dart
When to choose
- you write Flutter/Dart apps with many model classes
- you want union types and pattern matching in Dart
- you want JSON (de)serialization generated for your models
When to avoid
- your project does not use Dart/Flutter
- you prefer hand-written mutable classes or another generator like _serializable alone
- you cannot adopt a build_runner code-generation workflow
Facets
library · maturity active
serialization developer-tools developer-tools mobile-development frontend cross-platform code-generation immutable-classes data-classes union-types build-runner flutter pattern-matching copywith mobile
6 sources
- readme: https://github.com/rrousselGit/freezed · fetched 2026-08-28 · d9fc8d157476
- homepage: https://pub.dev/packages/freezed · fetched 2026-08-29 · 0c430812d703
- site_page: https://pub.dev/documentation/freezed_annotation/latest/freezed_annotation/Freezed-class.html · fetched 2026-08-29 · a5b1e6d01506
- site_page: https://pub.dev/packages/freezed/install · fetched 2026-08-29 · 58be15f92063
- site_page: https://pub.dev/documentation/freezed/latest · fetched 2026-08-29 · 5843fc7ac154
- site_page: https://pub.dev/packages/freezed/changelog · fetched 2026-08-29 · 896177bd51b5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rrousselGit/freezed | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="rrousselGit/freezed")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem