removeEdge method

Future<Map<String, dynamic>?> removeEdge(
  1. String collection,
  2. String edge
)

Removes an edge

Implementation

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