explicit_outcome 0.0.2
explicit_outcome: ^0.0.2 copied to clipboard
Dart typed outcomes for explicit, predictable development.
Changelog #
0.0.2 #
- Compatibility: Lowered Dart SDK floor from
^3.12.0to>=3.6.0 <4.0.0to support more Dart 3 consumers. - Compatibility: Relaxed
metaconstraint from^1.18.3to>=1.15.0 <2.0.0(packages only need long-lived annotations). - Compatibility: Widened
testdev dependency to>=1.25.0 <2.0.0for Dart 3.6 lane resolution. - Analysis: Switched to Very Good Analysis
^7.0.0(declares^3.5.0) for Dart 3.6-compatible lint rules.
0.0.1 #
- Initial release of
explicit_outcome. Result<T, E>sealed type withOkandErrconstructors andRes<T, E>compact typedef.Option<T>sealed type withValandNilconstructors andOpt<T>compact typedef.- Composition methods:
map,mapError,next,or. - Branching methods:
fold,when,getOrElse. - Compatibility aliases
SuccessandFailure.