AbsentValue class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isPresent
→ bool
-
no setterinherited
-
requireValue
→ Never
-
Returns the value if present (no matter if null or non-null), otherwise throws a StateError.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
valueOrNull
→ Never
-
return the value if present and non-null, otherwise null.
this is useful for cases where you don't care between the value being absent or null.
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