CopyWithField class
Field related options for the class's CopyWith annotation.
- Annotations
-
- @Target.new({TargetKind.field})
Constructors
- CopyWithField({bool? immutable})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- immutable → bool?
-
Indicates that the field should be hidden in the generated
copyWithandcopyWithNullmethods. By setting this flag totruethe field will always be copied as it is and excluded from the generated interfaces. Default isfalse.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited