put<T> method

  1. @override
Future<Response> put<T>(
  1. String path,
  2. Map<String, dynamic> body,
  3. HttpOptions? options
)
override

Implementation

@override
Future<Response> put<T>(
    String path, Map<String, dynamic> body, HttpOptions? options) async {
  final response = await client.put(path, data: body);
  return DioResponse<T>(
      response.headers.map, json.decode(response.data), response.statusCode);
}