operator []= method Null safety

void operator []= (
  1. int index,
  2. int value
)

Implementation

void operator []=(int index, int value) {
  _checkBounds(index);
  switch (_absoluteIndex + index) {
    case 0:
      _struct._unique__unused2_item_0 = value;
      break;
    case 1:
      _struct._unique__unused2_item_1 = value;
      break;
    case 2:
      _struct._unique__unused2_item_2 = value;
      break;
    case 3:
      _struct._unique__unused2_item_3 = value;
      break;
    case 4:
      _struct._unique__unused2_item_4 = value;
      break;
    case 5:
      _struct._unique__unused2_item_5 = value;
      break;
    case 6:
      _struct._unique__unused2_item_6 = value;
      break;
    case 7:
      _struct._unique__unused2_item_7 = value;
      break;
    case 8:
      _struct._unique__unused2_item_8 = value;
      break;
    case 9:
      _struct._unique__unused2_item_9 = value;
      break;
    case 10:
      _struct._unique__unused2_item_10 = value;
      break;
    case 11:
      _struct._unique__unused2_item_11 = value;
      break;
    case 12:
      _struct._unique__unused2_item_12 = value;
      break;
    case 13:
      _struct._unique__unused2_item_13 = value;
      break;
    case 14:
      _struct._unique__unused2_item_14 = value;
      break;
    case 15:
      _struct._unique__unused2_item_15 = value;
      break;
    case 16:
      _struct._unique__unused2_item_16 = value;
      break;
    case 17:
      _struct._unique__unused2_item_17 = value;
      break;
    case 18:
      _struct._unique__unused2_item_18 = value;
      break;
    case 19:
      _struct._unique__unused2_item_19 = value;
      break;
    default:
      throw Exception('Invalid Array Helper generated.');
  }
}