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
json_serializable_immutable_collections

Extends json_serializable to support immutable collections like BuiltList and KtList.

pub.devRemove
ScoresHealth88 (best)51
Maintenance64 (best)20
Quality9696
Popularity97 (best)12
Community100 (best)69
Compatibility100 (best)85
UsageDownloads (30 days)18M (best)453
Likes784 (best)12
Pub points150 / 160150 / 160
GitHub stars884 (best)24
MaintenanceLatest release8.13.0, 3 months ago (best)1.1.3, 10 months ago
Major versions in 12 months00
Contributors50 (best)6
Publisherdart.devdemoda.app
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies4 (best)8
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
  • Enables seamless JSON serialization for immutable collections
  • Integrates directly with the json_serializable ecosystem
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 specific build.yaml configuration to avoid builder conflicts
  • Unofficial package relying on json_serializable internals
WarningsNoneNone
built_value vs json_serializable_immutable_collections: which Flutter package should you use? | pubscout