Vertex<T> class

Generic object representing a vertex in a graph. Holds data of type T.

Constructors

Vertex(T data)
Creates a vertex holding generic data of type T.
Vertex.fromConstantVertex(ConstantVertex vertex)

Properties

data → T
Vertex data of type T.
final
hashCode int
The hash code for this object. [...]
read-only, override
id int
Returns the integer id of the vertex.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override