dio_response_validator 0.2.4 copy "dio_response_validator: ^0.2.4" to clipboard
dio_response_validator: ^0.2.4 copied to clipboard

An extension on Dio response futures to perform validation and data transformation

0.2.4 #

  • Adds convenience getters succeeded and failed

0.2.3 #

  • Removes deprecated use of DioError

0.2.2 #

  • Upgrades dio to 5.0.0

0.2.1 #

  • Adds transformDioError field to validate

0.2.0 #

  • Adds support for the diox package through a new diox_response_validator package
  • validate call now takes two type arguments
  • Renames SuccessResponse to ValidResponse, and ErrorResponse to InvalidResponse
  • ValidResponse.response is now properly typed
  • Removes ValidationError class and adds those properties to the InvalidResponse class
  • Renames ValidatedResponse.error to ValidatedResponse.failure

0.1.1 #

  • Uses generic type on extension

0.1.0 #

  • Initial release
0
likes
140
pub points
26%
popularity

Publisher

verified publisherrexios.dev

An extension on Dio response futures to perform validation and data transformation

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio

More

Packages that depend on dio_response_validator