drop method

Future<Map<String, dynamic>> drop(
  1. Map<String, String> opts
)

Implementation

Future<Map<String, dynamic>> drop(Map<String, String> opts) async {
  final resp = await _connection.request(
    method: 'DELETE',
    path: '/_api/collection/$name',
    queries: opts,
  );
  return resp.body;
}