NodeInstance constructor

NodeInstance({
  1. required String id,
  2. required NodePrototype prototype,
  3. required Map<String, PortInstance> ports,
  4. required Map<String, FieldInstance> fields,
  5. required NodeState state,
  6. bool forceRecompute = true,
  7. Offset offset = Offset.zero,
})

Implementation

NodeInstance({
  required this.id,
  required this.prototype,
  required this.ports,
  required this.fields,
  required this.state,
  this.forceRecompute = true,
  this.offset = Offset.zero,
});