Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_mappable

JSON serialization and data classes generator supporting generics, inheritance, and customization.

pub.devRemove
freezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
ScoresHealth8996 (best)
Maintenance8492 (best)
Quality100100
Popularity8393 (best)
Community80100 (best)
Compatibility100100
UsageDownloads (30 days)510k3.1M (best)
Likes4704.5k (best)
Pub points160 / 160160 / 160
GitHub stars2422.2k (best)
MaintenanceLatest release4.10.0, 2 months ago4.0.3, 5 weeks ago (best)
Major versions in 12 months00
Contributors19100+ (best)
Publisherschultek.devdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies3 (best)11
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Full support for generics, polymorphism, and inheritance.
  • All-in-one package generating serialization, equality, toString, and copyWith.
  • Highly flexible with mapping hooks and custom configuration options.
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
Weaknesses
  • Requires running build_runner for code generation.
  • toJson() returns a String rather than a Map<String, dynamic>, which requires attention when migrating from other packages.
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
dart_mappable vs freezed: which Flutter package should you use? | pubscout