ElkPort constructor
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 ?? [];