addPairInterfacePorts<InterfaceType extends PairInterface> method
InterfaceType
addPairInterfacePorts<InterfaceType extends PairInterface>(})
Connects the source to this Module using PairInterface.pairConnectIO
and returns a copy of the source that can be used within this module.
Implementation
InterfaceType addPairInterfacePorts<InterfaceType extends PairInterface>(
InterfaceType source, PairRole role,
{String Function(String original)? uniquify}) =>
(source.clone() as InterfaceType)
..pairConnectIO(this, source, role, uniquify: uniquify);