copy_with_extension library

Provides CopyWith annotation class used by copy_with_extension_gen.

Classes

$CopyWithPlaceholder
Placeholder used as the default value for parameters in generated methods. It lets the generator distinguish between an explicitly passed null and an omitted parameter, ensuring both nullable and non-nullable fields keep their existing values when not updated.
CopyWith
Annotation used to indicate that the copyWith extension should be generated for the given class.
CopyWithField
Field related options for the class's CopyWith annotation.