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.


hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.


kBeingInitialized → const String
Indicates that a variable or field is in the process of being initialized.
kCollected → const String
Indicates that the object referred to has been collected by the GC.
kExpired → const String
Indicates that an object id has expired.
kFree → const String
Reserved for future use.
kNotInitialized → const String
Indicates that a variable or field has not been initialized.
kOptimizedOut → const String
Indicates that a variable has been eliminated by the optimizing compiler.