toDart property

Int32List get toDart

Converts this JSInt32Array to a Int32List by either casting or wrapping it.

When compiling to JavaScript, Int32Lists are JSInt32Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSInt32Array will affect the Int32List and vice versa.

Implementation

external Int32List get toDart;