dart_either library
Support for doing something awesome.
More dartdocs go here.
Classes
-
ControlError<
T> - Error thrown by EitherEffect. Should not be caught.
-
Either<
L, R> - TODO
-
EitherEffect<
L, R> - Used for monad comprehensions.
-
Left<
T> - The left side of the disjoint union, as opposed to the Right side.
-
Right<
T> - The right side of the disjoint union, as opposed to the Left side.
Extensions
-
EitherEffectExtensions
on EitherEffect<
L, R> - TODO
-
EitherExtensions
on Either<
L, R> - TODO
-
ToEitherStreamExtension
on Stream<
R> - TODO
Typedefs
-
ErrorMapper<
T> = T Function(Object error, StackTrace stackTrace) -
Map
error
andstackTrace
toT
value.