NodeSocketModel<E> class
Constructors
- NodeSocketModel.new({String? id, required String nodeId, required NodeSocketType type, required Vector2 position, E? data, int connectionLimit = 500})
-
NodeSocketModel.fromJson(Map<
String, dynamic> json, {E? fromJsonE(Map<String, dynamic> json)?}) -
factory
Properties
- connectionLimit → int
-
final
- data ↔ E?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- nodeId → String
-
final
- position ↔ Vector2
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NodeSocketType
-
final
Methods
-
copy(
) → NodeSocketModel< E> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{Map< String, dynamic> toJsonE(E data)?}) → Map<String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited