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
,getAll
andgetAllErrors
for interacting with a list of results - Added
toErrorIf
method
1.0.2 #
- Added extensions for handling with Futures
- Raised maximum Dart constraint to <4.0.0
1.0.1 #
- Added
and
andandThen
function. - Downgraded Dart SDK requirement from
2.18.2
to2.18.0
- Downgraded matcher dependency from
0.12.14
to0.12.13
1.0.0 #
- Removed Flutter dependency.
- Added
HasResultValue
andHasResultError
matchers for testing.
0.0.3 #
- Added
when
function as an alternative toonSuccess
andonFailure
functions.
0.0.2 #
- Fix extension name conflicting with Map class.
0.0.1 #
- Initial release.