toDart property
Converts this JSInt16Array to a Int16List 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, Int16Lists are JSInt16Arrays and this operation will be a cast.
When compiling to Wasm, the JSInt16Array is wrapped with a Int16List implementation and the wrapper is returned.
Modifications to this JSInt16Array will affect the returned Int16List and vice versa.
Implementation
external Int16List get toDart;