Float64ListToJSFloat64Array#
Conversions from Float64List to JSFloat64Array.
Properties#
toJS extension no setter#
Converts this Float64List to a JSFloat64Array by either casting, unwrapping, or cloning the Float64List.
Depending on whether code is compiled to JavaScript or Wasm, this conversion will have different semantics.
When compiling to JavaScript, all typed lists are the equivalent JavaScript typed arrays, and therefore this getter simply casts.
When compiling to Wasm, this Float64List
is a wrapper around a
Float64Array if it was converted via
JSFloat64ArrayToFloat64List.toDart. If it is a wrapper, this getter
unwraps it and returns the Float64Array. If it's instantiated in Dart,
this getter clones this Float64List's values into a new
JSFloat64Array.
Avoid assuming that modifications to this Float64List will affect the returned JSFloat64Array and vice versa on all compilers unless it was converted first via JSFloat64ArrayToFloat64List.toDart.
Available on Float64List, provided by the Float64ListToJSFloat64Array extension
Implementation
external JSFloat64Array get toJS;