put method

Future<HttpClientResponse> put(
  1. String path, {
  2. Object? body,
  3. Map<String, String>? headers,
  4. bool requiresAuth = false,
  5. int? timeoutMs,
})

Implementation

Future<HttpClientResponse> put(
  String path, {
  Object? body,
  Map<String, String>? headers,
  bool requiresAuth = false,
  int? timeoutMs,
}) => send(
  method: 'PUT',
  path: path,
  body: body,
  headers: headers,
  requiresAuth: requiresAuth,
  timeoutMs: timeoutMs,
);