talira

Compare

built_valueFreezedequatable
What it isImmutable value types, enum classes and JSON serialization for Dart, by code generationCode generation for immutable data classes and unions in DartA Dart package that helps to implement value based equality without needing to explicitly override == and hashCode
KindOpen sourceOpen sourceOpen source
Trust0.460.590.42
Stars88421991091
Last commit2026-09-022026-11-242026-09-16
LicenceBSD-3-ClauseMITMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyGoogle
public company (NASDAQ:GOOGL)
Remi RousseletFelix Angelov
Features
  • Immutable value types with builders
  • EnumClass: classes that behave like enums
  • JSON serialization for value types and enums
  • Immutable collections through built_collection
  • Code generated with build_runner, one-off or in watch mode
  • generates ==, hashCode, toString and copyWith for Dart classes
  • union types (sealed classes) with pattern matching
  • JSON serialization through json_serializable
  • deep copy with nested copyWith
  • lint package freezed_lint
  • Implements == and hashCode from a props list
  • Works as a base class or as a mixin
  • Optional toString built from props (stringify, or EquatableConfig globally)
  • Pure Dart, for Flutter and server-side Dart
Limitations
      • It is meant for immutable classes only: every field must be final, since hashCode on mutable values breaks hash-based collections.