equalsById method

bool equalsById(
  1. Vertex other
)

A check if the this vertex is equal to other by its given id.

Implementation

bool equalsById(Vertex other) => id == other.id;