clone method
override
Creates a new Interface with the same ports as this
.
It is expected that any implementation will override this in a way that returns the same type as itself.
Implementation
@override
BridgeInterface clone() => BridgeInterface(
name: name,
library: library,
vendor: vendor,
version: version,
portsFromConsumer: _portsFromConsumer,
portsFromProvider: _portsFromProvider,
portsSharedInouts: _portsSharedInouts);