toDart property

Float32List toDart

Converts this JSFloat32Array to a Float32List by either casting or wrapping it.

When compiling to JavaScript, Float32Lists are JSFloat32Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSFloat32Array will affect the Float32List and vice versa.

Implementation

external Float32List get toDart;