Skip to content

JSFloat64ArrayToFloat64List

extension JSFloat64ArrayToFloat64List on JSFloat64Array

Conversions from JSFloat64Array to Float64List.

Properties

toDart extension no setter

Float64List get toDart

Converts this JSFloat64Array to a Float64List by either casting or wrapping it.

INFO

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.

Available on JSFloat64Array, provided by the JSFloat64ArrayToFloat64List extension

Implementation
dart
external Float64List get toDart;