patch static method

Future<Result<String>> patch(
  1. String endpoint, {
  2. int timeout = 3,
  3. Map<String, dynamic>? queryPara,
  4. dynamic body,
  5. Map<String, String>? headers,
  6. bool isRetry = false,
})

PATCH request

Implementation

static Future<Result<String>> patch(String endpoint,
    {int timeout = 3, Map<String, dynamic>? queryPara, dynamic body, Map<String, String>? headers, bool isRetry = false}) async {
  return _request(
    endpoint,
    type: _RequestType.patch,
    timeout: timeout,
    queryPara: queryPara,
    body: body,
    headers: headers,
    isRetry: isRetry,
  );
}