Port constructor

Port({
  1. required int id,
  2. int maxLinks = 1,
  3. String label = "Data",
  4. Offset position = Offset.zero,
})

Implementation

Port({
  required this.id,
  this.maxLinks = 1,
  this.label = "Data",
  this.position = Offset.zero,
});