put<T> method

Future put<T>(
  1. dynamic path, {
  2. Map? data,
  3. Options? options,
})

Implementation

Future put<T>(path, {Map? data, Options? options}) async {
  try {
    Response response =
        await Dio(baseOptions).put(path, data: data, options: options);
    return hanleData<T>(response);
  } on DioError catch (e) {
    return createErrorEntity(e);
  }
}