SchematicPortData class

Data for a schematic port (I/O connection point on an instance).

Constructors

SchematicPortData({required String id, required String instanceId, required double x, required double y, required double width, required double height, required String name, String direction = 'INOUT', String side = 'EAST', int signalWidth = 1})
Create a new SchematicPortData.
SchematicPortData.fromJson(Map<String, dynamic> json)
Create a new SchematicPortData from JSON data.
factory

Properties

direction → String
SignalOccurrence direction: 'INPUT', 'OUTPUT', or 'INOUT' (bidirectional).
final
hashCode → int
The hash code for this object.
no setterinherited
height → double
Height of the port's visual representation (marker and label area).
final
id → String
Unique identifier for this port within the schematic.
final
instanceId → String
ID of the instance this port belongs to (parent container).
final
isInout → bool
Whether this port is a bidirectional (inout) port.
no setter
isInput → bool
Whether this port is an input port.
no setter
isOutput → bool
Whether this port is an output port.
no setter
name → String
Display name/label for the port (e.g., "clk", "data_in", "reset").
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
side → String
Side of the parent instance where port appears: 'NORTH', 'SOUTH', 'EAST', 'WEST'.
final
signalWidth → int
SignalOccurrence bit-width (e.g. 8 for an 8-bit bus). 1 = single bit wire.
final
width → double
Width of the port's visual representation (marker and label area).
final
x → double
X-coordinate of the port's position in the schematic layout.
final
y → double
Y-coordinate of the port's position in the schematic layout.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited