result_monad 2.3.2
result_monad: ^2.3.2 copied to clipboard
A Dart implementation of the Result Monad which allows for more expressive result generation and processing without using exceptions.
2.3.2 #
- Tweak to documentation headers to avoid lint error
2.3.1 #
- Tweak to README to include
withErrorandwithErrorAsync
2.3.0 #
- Examples and documentation updates for the new syntax.
- Add to
FutureResult:andThen,errorCast,mapError,mapValue,withResult,withError,match,fold - Add
withErrorto Result andwithErrorandwithErrorAsynctoFutureResult
2.1.0 #
- Add pass through methods
withResultandwithResultAsyncon Result and Future extension method
2.0.2 #
- Add exception catching on
addThenandaddThenSuccessand FutureResult extension methods.
2.0.1 #
- Tweaks to the README only.
2.0.0 #
- Allow nullable types for success and failure types
- Add
andThenSuccessandandThenSuccessAsyncmethods for allowing returning results without explicitResult.okwrapping to allow more concise syntax - Add extension methods on
FutureResultto make async chaining syntax much more concise - Add
errorCastmethod for when need to pass up an error Result with the same error type with different success type.
1.0.2 #
- Tweaks to API documentation
- Added temp file "intermediate" level example and added it to
example.mdas well
1.0.1 #
- Added an
example.mdfile for pub.flutter-io.cn.
1.0.0 #
- Initial version.