edgesBetweenKey static method

String edgesBetweenKey(
  1. Vertex start,
  2. Vertex end
)

Implementation

static String edgesBetweenKey(Vertex start, Vertex end) {
  var key = start.id.hashCode > end.id.hashCode
      ? '${end.id}$_split${start.id}'
      : '${start.id}$_split${end.id}';
  return key;
}