addInterfacePorts<InterfaceType extends Interface<TagType> , TagType extends Enum> method
- InterfaceType source, {
- Iterable<
TagType> ? inputTags, - Iterable<
TagType> ? outputTags, - Iterable<
TagType> ? inOutTags, - String uniquify(
- String original
inherited
Registers source on this Module and returns its internal clone.
Implementation
InterfaceType addInterfacePorts<InterfaceType extends Interface<TagType>,
TagType extends Enum>(InterfaceType source,
{Iterable<TagType>? inputTags,
Iterable<TagType>? outputTags,
Iterable<TagType>? inOutTags,
String Function(String original)? uniquify}) =>
addInterfaceFrom(
source.clone() as InterfaceType,
source,
inputTags: inputTags,
outputTags: outputTags,
inOutTags: inOutTags,
uniquify: uniquify,
);