ResultType enum
ResultType represents the type of Result.
ok representing success and containing a value.
error representing error and containing an error
Constructors
- ResultType()
-
const
Values
- ok → const ResultType
-
ok representing success and containing a value.
- error → const ResultType
-
error representing error and containing an error value.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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
-
values
→ const List<
ResultType> - A constant List of the values in this enum, in order of their declaration.