typed_result 2.0.0
typed_result: ^2.0.0 copied to clipboard
A result monad with two subtypes representing a success or a failure
2.0.0 #
- Breaking change: Raised minimum Dart to >=3.0.0
- Added
partition,getAllandgetAllErrorsfor interacting with a list of results - Added
toErrorIfmethod
1.0.2 #
- Added extensions for handling with Futures
- Raised maximum Dart constraint to <4.0.0
1.0.1 #
- Added
andandandThenfunction. - Downgraded Dart SDK requirement from
2.18.2to2.18.0 - Downgraded matcher dependency from
0.12.14to0.12.13
1.0.0 #
- Removed Flutter dependency.
- Added
HasResultValueandHasResultErrormatchers for testing.
0.0.3 #
- Added
whenfunction as an alternative toonSuccessandonFailurefunctions.
0.0.2 #
- Fix extension name conflicting with Map class.
0.0.1 #
- Initial release.