Appearance
JSInt8ArrayToInt8List
extension JSInt8ArrayToInt8List on JSInt8ArrayConversions from JSInt8Array to Int8List.
Properties
toDart extension no setter
Int8List get toDartConverts this JSInt8Array to a Int8List 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, Int8Lists are JSInt8Arrays and this operation will be a cast.
When compiling to Wasm, the JSInt8Array is wrapped with a Int8List implementation and the wrapper is returned.
Modifications to this JSInt8Array will affect the returned Int8List and vice versa.
Available on JSInt8Array, provided by the JSInt8ArrayToInt8List extension
Implementation
dart
external Int8List get toDart;