operator [] method
Implementation
@override
operator [](key) {
switch (key?.toString()) {
case "timeUnit":
return this.timeUnit;
case "iterations":
return this.iterations;
default:
return wrapped[key];
}
}
@override
operator [](key) {
switch (key?.toString()) {
case "timeUnit":
return this.timeUnit;
case "iterations":
return this.iterations;
default:
return wrapped[key];
}
}