Node class

Base class for graph nodes.

@author {@link https://github.com/Mugen87|Mugen87}

Implementers

Constructors

Node([int index = -1, Vector3? position])
Constructs a new node.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
getter/setter pair
position Vector3
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJSON(Map<String, dynamic> json) Node
Restores this instance from the given JSON object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
Transforms this instance into a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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