copyAndAdd

fun copyAndAdd(required: List<IviServiceInterfaceConfig> = emptyList(), optional: List<IviServiceInterfaceConfig> = emptyList()): IviServiceDependencies

Copies this IviServiceDependencies, adds the given required and optional dependencies to the copied instance, and returns it.