makeDelete method

Future<bool> makeDelete(
  1. RequestModel? config
)

Cria uma requisição HTTP do tipo DELETE com a config informada.

Implementation

Future<bool> makeDelete(RequestModel? config) async {
  config = config ?? RequestModel();
  var resp = await _makeRequest<bool, void>(HttpMethod.delete, _getUrl(config), config.headers);

  return resp ?? false;
}