operator [] method Null safety

int operator [] (
  1. int index
)

Implementation

int operator [](int index) {
  _checkBounds(index);
  switch (_absoluteIndex + index) {
    case 0:
      return _struct._unique_ob_sval_item_0;
    default:
      throw Exception('Invalid Array Helper generated.');
  }
}