rawPatch static method

Future<Map<String, dynamic>> rawPatch({
  1. required String url,
  2. Map<String, String> headers = const {"Content-type" : 'application/json'},
  3. bool testMode = false,
  4. required Map<String, dynamic> body,
})

Sends an HTTP PUT request.

Implementation

static Future<Map<String, dynamic>> rawPatch(
    {required String url,
    Map<String, String> headers = const {"Content-type": 'application/json'},
    bool testMode = false,
    required Map<String, dynamic> body}) async {
  return await ApiST.instance
      .request(type: TYPE.PATCH, baseUrl: url, rawHeaders: headers, testMode: testMode, query: body);
}