delete method

Future delete(
  1. BuildContext context,
  2. String url,
  3. String? id, {
  4. Map<String, String>? header,
  5. Map<String, dynamic>? payload,
  6. bool responseData = true,
})

Implementation

Future delete(BuildContext context, String url, String? id,
    {Map<String, String>? header,
    Map<String, dynamic>? payload,
    bool responseData = true}) {
  return _send(context, 'delete', '$url/$id', header,
      payload: payload, responseData: responseData);
}