NodeSocketModel constructor
NodeSocketModel({
- String? id,
- required String nodeId,
- required NodeSocketType type,
- required Vector2 position,
- dynamic data,
- int connectionLimit = 500,
Implementation
NodeSocketModel({
String? id,
required this.nodeId,
required this.type,
required this.position,
this.data,
this.connectionLimit = 500,
}) {
this.id = id ?? UniqueKey().toString();
}