CopyWith class

Annotation used to indicate that the copyWith extension should be generated.

Constructors

CopyWith({bool generateCopyWithNull = false})
Creates a new CopyWith instance. Set generateCopyWithNull to true for generating an extra copyWithNull function that allows you to nullify the properties.
const

Properties

generateCopyWithNull bool
final
hashCode int
The hash code for this object.
no setterinherited
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