asTypedList method Null safety

Uint32List asTypedList(
  1. int length
)

Creates a typed list view backed by memory in the address space.

The returned view will allow access to the memory range from address to address + 4 * length.

The user has to ensure the memory range is accessible while using the returned list.

The address must be 4-byte aligned.

Implementation

external Uint32List asTypedList(int length);