Success<S, E> class final

Inheritance
Available Extensions

Constructors

Success(S success)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success → S
final

Methods

map<TResult extends Object?>({required SuccessCallback<TResult, S, E> success, required ErrorCallback<TResult, S, E> error}) → TResult
override
mapOrNull<TResult extends Object?>({NullableSuccessCallback<TResult, S, E>? success, NullableErrorCallback<TResult, S, E>? error}) → TResult?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required SuccessValueCallback<TResult, S> success, required ErrorValueCallback<TResult, E> error}) → TResult
override

Operators

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