postUri<T> abstract method

Future<Response<T>> postUri<T>(
  1. Uri uri, {
  2. dynamic data,
  3. Options? options,
  4. CancelToken? cancelToken,
  5. ProgressCallback? onSendProgress,
  6. ProgressCallback? onReceiveProgress,
})

Handy method to make http POST request, which is a alias of dio.fetch(RequestOptions).

Implementation

Future<Response<T>> postUri<T>(
  Uri uri, {
  data,
  Options? options,
  CancelToken? cancelToken,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
});