Abstract class that represents connection of a component.
Connection({ required this.connectionId, required this.otherComponentId, });