toDart property

Float64List get toDart

Converts this JSFloat64Array to a Float64List 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, Float64Lists are JSFloat64Arrays and this getter will be a cast.

When compiling to Wasm, the JSFloat64Array is wrapped with a Float64List implementation and the wrapper is returned.

Modifications to this JSFloat64Array will affect the returned Float64List and vice versa.

Implementation

external Float64List get toDart;