dropVertexCollection method

Future<Map<String, dynamic>?> dropVertexCollection(
  1. String collection
)

Drop vertex of a collection

Implementation

Future<Map<String, dynamic>?> dropVertexCollection(String collection) async {
  Map<String, dynamic>? res;
  try {
    var request = client.prepareRequest(
        '/_api/gharial/${name}/vertex/$collection',
        methode: 'delete');
    res = await client.exec(request);
  } catch (e) {
    print(e);
  }
  return res;
}