DioResponseValidator<U> extension
Extension on Dio
Response
futures for validation
- on
-
- Future<
Response< U> >
- Future<
Methods
-
validate<
T> ({T transform(U data)?, Object transformDioError(DioException error)?}) → Future< ValidatedResponse< U, T> > -
Available on Future<
Handle errors and validate the responseResponse< , provided by the DioResponseValidator extensionU> >