tap method
- int delay
Returns the exposed tap at delay.
Throws an ArgumentError when delay is not in tapDelays.
Implementation
T tap(int delay) {
final index = tapDelays.indexOf(delay);
if (index < 0) {
throw ArgumentError.value(
delay, 'delay', 'Must identify an exposed tap delay.');
}
return taps[index];
}