Vertex class abstract

Vertex represents a node from a graph. id is the a unique identifier of the vertex/node.

Implementers

Constructors

Vertex(String id)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() Vertex
Returns a copy of the instance of your object
equalsById(Vertex other) bool
A check if the this vertex is equal to other by its given id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes an object
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited