addPairInterfacePorts<InterfaceType extends PairInterface> method
InterfaceType
addPairInterfacePorts<InterfaceType extends PairInterface>(})
Registers source for role and returns its internal clone.
Implementation
InterfaceType addPairInterfacePorts<InterfaceType extends PairInterface>(
InterfaceType source, PairRole role,
{String Function(String original)? uniquify}) =>
addPairInterfaceFrom(
source.clone() as InterfaceType,
source,
role,
uniquify: uniquify,
);