Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributechecked_yaml

Provides checkedYamlDecode to give detailed errors when decoding YAML with json_serializable.

pub.devRemove
dart_mappable

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

pub.devRemove
ScoresHealth7989 (best)
Maintenance5284 (best)
Quality100100
Popularity8083 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)12M (best)510k
Likes35470 (best)
Pub points160 / 160160 / 160
GitHub stars1.6k (best)242
MaintenanceLatest release2.0.4, a year ago4.10.0, 2 months ago (best)
Major versions in 12 months00
Contributors51 (best)19
Publishergoogle.devschultek.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies33
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Maps decoding errors to exact YAML line/column
  • Seamlessly integrates with json_serializable's checked mode
  • Supports latest Dart and yaml versions
  • 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.
Weaknesses
  • Only works with json_serializable‑generated models
  • Adds extra dependency and exception layer
  • No benefit if you don't need detailed error reports
  • 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.
Warnings
  • Quiet but busy
None
checked_yaml vs dart_mappable: which Flutter package should you use? | pubscout