NodeModel<T, E> class

Constructors

NodeModel.new({Vector2? position, String? id, T? data, List<NodeSocketModel<E>>? inputSockets, List<NodeSocketModel<E>>? outputSockets})
NodeModel.fromJson(Map<String, dynamic> json)

Properties

data → T?
final
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
inputSockets List<NodeSocketModel<E>>
getter/setter pair
key GlobalKey<State<StatefulWidget>>
getter/setter pair
outputSockets List<NodeSocketModel<E>>
getter/setter pair
position Vector2
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() NodeModel<T, E>
copyWith({Vector2? position, String? id, T? data, List<NodeSocketModel<E>>? inputSockets, List<NodeSocketModel<E>>? outputSockets}) NodeModel<T, E>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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