Methods
-
map<TResult extends Object?>({required TResult success(Success<T> value), required TResult failure(Failure<T> value)})
→ TResult
-
inherited
-
maybeMap<TResult extends Object?>({TResult success(Success<T> value)?, TResult failure(Failure<T> value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult success(T data)?, TResult failure(String error)?, required TResult orElse()})
→ TResult
-
inherited
-
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 TResult success(T data), required TResult failure(String error)})
→ TResult
-
inherited