delete method

Future<RTResponse> delete(
  1. String url, {
  2. Map<String, dynamic>? data,
  3. Map<String, String>? headers,
})

Implementation

Future<RTResponse> delete(
  String url, {
  Map<String, dynamic>? data,
  Map<String, String>? headers,
}) async {
  return _request(
    method: 'DELETE',
    url: url,
    data: data,
    headers: headers,
  );
}