result_type library

Classes

Failure<S, F extends Exception>
A failure, storing a Failure value.
Result<S, F extends Exception>
A value that represents either a success or a failure, including an associated value in each case.
Success<S, F extends Exception>
A success, storing a Success value.

Typedefs

Completion<T> = void Function(T value)
Callbacks that return Success or Failure.