Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeauto_mappr

Code generation package for mapping between different objects with ease.

pub.devRemove
copy_with_extension

Annotation for generating copyWith extensions code using copy_with_extension_gen.

pub.devRemove
ScoresHealth7987 (best)
Maintenance7997 (best)
Quality96 (best)85
Popularity5671 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)11k240k (best)
Likes142 (best)111
Pub points150 / 160160 / 160 (best)
GitHub stars7386 (best)
MaintenanceLatest release2.18.0, 4 weeks ago18.0.1, 6 days ago (best)
Major versions in 12 months0 (best)8
Contributors1112 (best)
Publishernetglade.czalexander-kirsch.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies101 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Moves mapping overhead from runtime to pre-compile time for fast execution.
  • Extensive customization options including custom mapping functions, field ignores, defaults, and reverse mapping.
  • Works well with packages like equatable and json_serializable.
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
Weaknesses
  • Requires running a build_runner step whenever mappings or models change.
  • Strict type inference must be handled carefully using explicit types or generics.
  • Requires build_runner and a separate generator package to produce code
  • Breaking changes in generator rules can require updating generated files and class configurations
WarningsNoneNone
auto_mappr vs copy_with_extension: which Flutter package should you use? | pubscout