inline_result 2.0.0
inline_result: ^2.0.0 copied to clipboard
This package brings a Kotlin-like Result<T> to Dart, using extension types for zero-cost wrapping.
2.0.0 #
- Breaking Changes
- Better async API
- All async methods now handle
FutureOr<T>instead ofT
Result.runCatchingdeprecated
1.2.0 #
- Add
flatMap onFailure,recoverandrecoverCatchingnow can works with specific type ofException
1.1.0 #
- Extension to works with the Futures
runCatchingas global function- Refactor
Resulttype to useconstandfactory - Try to make all methods inline
1.0.0 #
- Initial release
- Inline Result class with all base methods