Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefreezed_annotation

Annotations for the freezed code-generator.

pub.devRemove
json_model

Generate Dart model classes from JSON files with a single command.

pub.devRemove
ScoresHealth78 (best)38
Maintenance55 (best)0
Quality8185 (best)
Popularity92 (best)39
Community80 (best)6
Compatibility100 (best)85
UsageDownloads (30 days)4.9M (best)1.9k
Likes564 (best)43
Pub points150 / 160 (best)125 / 160
GitHub stars2.2k (best)730
MaintenanceLatest release3.1.0, a year ago (best)1.0.0, 5 years ago
Major versions in 12 months00
Contributors100+ (best)1
Publisherdash-overflow.netUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies3 (best)8
LicenseMITUNKNOWN
Setup effortLowLow
JudgementStrengths
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
  • Keeps raw JSON files as the single source of truth for your models
  • Supports referencing other models and arrays using a simple syntax
  • Allows fine-tuning generation rules via `$meta` configurations and ignores
Weaknesses
  • Does nothing without the freezed package
  • License is unknown
  • Relies on external JSON files rather than Dart-first code definitions
Warnings
  • Quiet but busy
  • Quiet but busy
freezed_annotation vs json_model: which Flutter package should you use? | pubscout