put method

Future<Response> put(
  1. String path, {
  2. dynamic data,
  3. Map<String, dynamic>? queryParameters,
})

Implementation

Future<Response> put(String path,
    {dynamic data, Map<String, dynamic>? queryParameters}) async {
  try {
    final response =
        await _dio.put(path, data: data, queryParameters: queryParameters);
    return response;
  } catch (e) {
    rethrow;
  }
}