Result<S extends Object?, E extends Object?> class
sealed
Properties
Methods
-
getErrorOrElse(
E orElse()) → E -
getErrorOrNull(
) → E? -
getErrorOrThrow(
) → E -
getSuccessOrElse(
S orElse()) → S -
getSuccessOrNull(
) → S? -
getSuccessOrThrow(
) → S -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
T> (T onSuccess(S success), T onError(E error)) → T
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited