elementAt method Null safety

Pointer<T> elementAt (
  1. int index
)

Pointer arithmetic (takes element size into account).

Support for invoking this method with non-constant T will be removed in the next stable version of Dart and it will become mandatory to invoke it with a compile-time constant T.

Implementation

external Pointer<T> elementAt(int index);