put method

Future put(
  1. Uri path, {
  2. Map<String, String>? body,
})

Make a simple PUT request.

path is the destination URI and body contains the PUT parameters that will be sent with the request.

Implementation

Future<dynamic> put(Uri path, {Map<String, String>? body}) async {
  _logger.info('PUT: $path body: ${DRAWLoggingUtils.jsonify(body)}');
  return _request(_kPutRequest, path, body: body);
}