toDart property

Uint32List toDart

Converts this JSUint32Array to a Uint32List by either casting or wrapping it.

When compiling to JavaScript, Uint32Lists are JSUint32Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSUint32Array will affect the Uint32List and vice versa.

Implementation

external Uint32List get toDart;