operator [] method Null safety

T operator [](
  1. int index
)

Retrieves the vector at index.

Implementation

T operator [](int index) {
  final r = newVector();
  load(index, r);
  return r;
}