feedback_response 0.0.8 feedback_response: ^0.0.8 copied to clipboard
A simple package that aims to provide a complete solution for communication between services inside your app.
0.0.8 #
- ⚠️ Breaking: Changed default error
FeedbackType
tonotification
.
0.0.7 #
- ✨ New: Added copyWith conditional message and title based on success.
0.0.6 #
- ⚠️ Breaking: Fix fold bug.
0.0.5 #
- ⚠️ Breaking: Removed
FeedbackLevel.info
from theFeedbackResponse.isSuccess
equation.- ⚠️ Breaking: Improved
FeedbackResponse.fold
method to allow for returning values and renamedhasError
toorElse
to better reflect truth.
- ⚠️ Breaking: Improved
- ✨ New: Added
hasError
toFeedbackResponse
class.
0.0.4+3 #
- ✨ New: Add
fold
method to theFeedbackResponse
class, which conditionally executes one of two callbacks based on theisSuccess
property. This simplifies the handling of both success and error cases in a single block without the need for multiple control structures. - ✨ New: Added
result
to theFeedbackResponse
variants that did not have it yet.
0.0.4+2 #
- Update readme.
0.0.4+1 #
- Added generic
copyWith<E>
argument andwithoutResult<E>
method.
0.0.4 #
- Update default feedback types.
0.0.3 #
- Improve example project.
0.0.2 #
- Improve example project.
0.0.1+1 #
- Add example project.
0.0.1 #
- Initial release.