ElkPort constructor

ElkPort({
  1. required String id,
  2. required HwMeta hwMeta,
  3. required String direction,
  4. required String side,
  5. int index = 0,
  6. List<ElkPort>? children,
  7. double? x,
  8. double? y,
  9. double? width,
  10. double? height,
})

Constructor for ElkPort.

Implementation

ElkPort({
  required this.id,
  required this.hwMeta,
  required this.direction,
  required this.side,
  this.index = 0,
  List<ElkPort>? children,
  this.x,
  this.y,
  this.width,
  this.height,
}) : children = children ?? [];