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_jsonwebtoken

A Dart library for creating, signing, decoding and verifying JSON Web Tokens (JWT).

pub.devRemove
ScoresHealth88 (best)81
Maintenance64 (best)49
Quality96100 (best)
Popularity97 (best)94
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)18M (best)2.1M
Likes784 (best)360
Pub points150 / 160160 / 160 (best)
GitHub stars884 (best)106
MaintenanceLatest release8.13.0, 3 months ago (best)3.4.1, 7 months ago
Major versions in 12 months00
Contributors50 (best)15
Publisherdart.devjonasroussel.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies43 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • All standard JWT algorithms supported
  • Defensive type checks and timing-attack resistant HMAC
  • JWK conversion helpers
  • Pure Dart, works on all platforms
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
  • No built‑in token storage or refresh flow
  • No integration with auth backends out of the box
  • Requires manual key management
WarningsNoneNone
built_value vs dart_jsonwebtoken: which Flutter package should you use? | pubscout