operator [] method
Operator access
Implementation
Object? operator [](int i) {
switch (i) {
case 0:
return first;
case 1:
return second;
case 2:
return third;
case 3:
return fourth;
}
throw IndexError.withLength(i, 4, indexable: this);
}