delete method
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);
}