DioResponseValidator<U> extension

Extension on Dio Response futures for validation

on

Methods

validate<T>({T transform(U data)?, Object transformDioError(DioException error)?}) Future<ValidatedResponse<U, T>>

Available on Future<Response<U>>, provided by the DioResponseValidator extension

Handle errors and validate the response