dio_response_validator 0.3.1
dio_response_validator: ^0.3.1 copied to clipboard
An extension on Dio response futures to perform validation and data transformation
0.3.1 #
- Documentation cleanup
0.3.0 #
ValidatedResponseis now a record of(ValidResponse?, InvalidResponse?)- Adds
TransformedResponsetype - Transform is now an extension method on
ValidatedResponse
0.2.5 #
- Tightens dependency constraints
0.2.4 #
- Adds convenience getters
succeededandfailed
0.2.3 #
- Removes deprecated use of
DioError
0.2.2 #
- Upgrades dio to 5.0.0
0.2.1 #
- Adds
transformDioErrorfield tovalidate
0.2.0 #
- Adds support for the
dioxpackage through a newdiox_response_validatorpackage validatecall now takes two type arguments- Renames
SuccessResponsetoValidResponse, andErrorResponsetoInvalidResponse ValidResponse.responseis now properly typed- Removes
ValidationErrorclass and adds those properties to theInvalidResponseclass - Renames
ValidatedResponse.errortoValidatedResponse.failure
0.1.1 #
- Uses generic type on extension
0.1.0 #
- Initial release