deleteCollection method

Future<void> deleteCollection(
  1. String name
)

Deletes a collection

Implementation

Future<void> deleteCollection(String name) async {
  final response = await _client.delete(
    Uri.parse('$baseUrl/collections/$name'),
    headers: _headers,
  );

  _handleResponse(response);
}