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_ob_digit_item_0 = value;
      break;
    default:
      throw Exception('Invalid Array Helper generated.');
  }
}