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
nulland an omitted parameter, ensuring both nullable and non-nullable fields keep their existing values when not updated. - CopyWith
-
Annotation used to indicate that the
copyWithextension should be generated for the given class. - CopyWithField
-
Field related options for the class's
CopyWithannotation.