CopyWithField class

Field related options for the class's CopyWith annotation.

Annotations
  • @Target({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 copyWith method. By setting this flag to true the field will always be copied as it is and excluded from copyWith interface. Default is false.
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