getVertex method

Future<Map<String, dynamic>?> getVertex(
  1. String collection,
  2. String vertex
)

Get a vertex

Implementation

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