dio_response_validator 0.2.1 dio_response_validator: ^0.2.1 copied to clipboard
An extension on Dio response futures to perform validation and data transformation
0.2.1 #
- Adds
transformDioError
field tovalidate
0.2.0 #
- Adds support for the
diox
package through a newdiox_response_validator
package validate
call now takes two type arguments- Renames
SuccessResponse
toValidResponse
, andErrorResponse
toInvalidResponse
ValidResponse.response
is now properly typed- Removes
ValidationError
class and adds those properties to theInvalidResponse
class - Renames
ValidatedResponse.error
toValidatedResponse.failure
0.1.1 #
- Uses generic type on extension
0.1.0 #
- Initial release