UndefinedSentinel class abstract
Base for generated copyWith defaults that distinguish omission from null.
Sentinels are generated-code infrastructure, not field values. Generated code must check for them before accessing any members of the field's type.
Constructors
- UndefinedSentinel()
-
Creates an undefined value for a generated
copyWithparameter.const
Properties
- 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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited