analyzer_kit_annotation 1.0.0+1
analyzer_kit_annotation: ^1.0.0+1 copied to clipboard
Annotations for use with the analyzer_kit analyzer plugin.
1.0.0+1 #
- Documentation:
- Small documentation updates related to intializing and enabling the plugin
1.0.0 #
- Initial release.
- Annotations:
CopyWith— marks a class forcopyWithmethod generation.OverrideEquality— marks a class for==andhashCodegeneration, with optionaldeepCollectionEqualitycontrol.OverrideToString— marks a class fortoStringoverride generation.DataClass— composite annotation enablingcopyWith,overrideEquality,overrideToString,serialize, anddeserializewith individual toggle flags.Serialize— marks a class for serialization method generation (toMap,toJson, or custom viaSerializeMethod).Deserialize— marks a class for deserialization factory generation (fromMap,fromJson, or custom viaDeserializeMethod).
- Sealed class hierarchies:
SerializeMethodwith factories:.toMap(),.toJson(),.custom(String name).DeserializeMethodwith factories:.fromMap(),.fromJson(),.custom(String name).
- Runtime helpers:
deepHash(Object?)— deep recursive collection hashing.deepEquals(Object?, Object?)— deep recursive collection equality.
- Convenience constants for all annotations (e.g.,
@dataClass,@copyWith,@serialize).