toDart property

Uint32List get toDart

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

Note

Depending on whether code is compiled to JavaScript or Wasm, this conversion will have different semantics.

When compiling to JavaScript, Uint32Lists are JSUint32Arrays and this operation will be a cast.

When compiling to Wasm, the JSUint32Array is wrapped with a Uint32List implementation and the wrapper is returned.

Modifications to this JSUint32Array will affect the returned Uint32List and vice versa.

Implementation

external Uint32List get toDart;