I created a custom port shape that extends the PortShape, When using the `fromJson` factory, it returns `ArgumentError('Unknown port shape type: $type')`, as it does not know about the custom port shape.