Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value

Immutable value types with builders, enum classes and JSON serialization for Dart.

pub.devRemove
dart_json_mapper

Annotate Dart objects to serialize and deserialize them from and to JSON.

pub.devRemove
ScoresHealth88 (best)57
Maintenance64 (best)12
Quality96 (best)91
Popularity97 (best)50
Community100 (best)69
Compatibility100100
UsageDownloads (30 days)18M (best)2k
Likes784 (best)279
Pub points150 / 160 (best)140 / 160
GitHub stars884 (best)395
MaintenanceLatest release8.13.0, 3 months ago (best)2.2.20, a year ago
Major versions in 12 months00
Contributors50 (best)6
Publisherdart.devedensapple.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies4 (best)9
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Keeps model classes clean with no boilerplate serialization methods inside them.
  • Rich out-of-the-box features like polymorphism, object cloning, and case style conversion.
  • Generates a single centralized mapper file for the whole project.
Weaknesses
  • Requires build_runner and a generator dev dependency
  • Steeper learning curve compared to plain json_serializable
  • Adds extra build step to the CI pipeline
  • Requires running a code generator (`build_runner`) whenever model classes change.
  • Less common choice in the Dart ecosystem compared to `json_serializable`.
WarningsNoneNone
built_value vs dart_json_mapper: which Flutter package should you use? | pubscout