SentinelKind class Null safety
A SentinelKind
is used to distinguish different kinds of Sentinel
objects.
Adding new values to SentinelKind
is considered a backwards compatible
change. Clients must handle this gracefully.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kBeingInitialized → const String
-
Indicates that a variable or field is in the process of being initialized.
'BeingInitialized'
- kCollected → const String
-
Indicates that the object referred to has been collected by the GC.
'Collected'
- kExpired → const String
-
Indicates that an object id has expired.
'Expired'
- kFree → const String
-
Reserved for future use.
'Free'
- kNotInitialized → const String
-
Indicates that a variable or field has not been initialized.
'NotInitialized'
- kOptimizedOut → const String
-
Indicates that a variable has been eliminated by the optimizing compiler.
'OptimizedOut'