patch static method
PATCH request.
Implementation
static Future<dynamic> patch(
String path, {
Object? body,
Map<String, String>? headers,
}) async {
final response = await _httpClient.patch(
Uri.parse('$_baseUrl$path'),
headers: {..._defaultHeaders, ...?headers},
body: body != null ? jsonEncode(body) : null,
);
return _handleResponse(response);
}