deleteEdge method

Future<StatusResponse> deleteEdge(
  1. String sourceKref,
  2. String targetKref,
  3. String edgeType
)
inherited

Deletes an edge between two revisions.

All three parameters must match an existing edge exactly.

Implementation

Future<StatusResponse> deleteEdge(
  String sourceKref,
  String targetKref,
  String edgeType,
) async {
  final request = DeleteEdgeRequest()
    ..sourceKref = Kref(uri: sourceKref)
    ..targetKref = Kref(uri: targetKref)
    ..edgeType = edgeType;
  return stub.deleteEdge(request, options: callOptions);
}