Maybe<T> class
Class
- Annotations
-
- @immutable
Properties
- error → Object
-
Returns the error if it exist
no setter
- hasError → bool
-
Checker of error's existence
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValue → bool
-
Checker of value existence
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
Stored value
no setter
Methods
-
castTo<
E> () → Maybe< E> - This method usually used in the same package
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json - JSON-converter
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited