toDart property - JSInt16ArrayToInt16List extension - dart:js_interop library (original) (raw)
Int16List gettoDart
Converts this JSInt16Array to a Int16List by either casting or wrapping it.
When compiling to JavaScript, Int16Lists are JSInt16Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSInt16Array will affect the Int16List and vice versa.
Implementation
external Int16List get toDart;