toDart property

Int8List get toDart

Converts this JSInt8Array to a Int8List by either casting or wrapping it.

When compiling to JavaScript, Int8Lists are JSInt8Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSInt8Array will affect the Int8List and vice versa.

Implementation

external Int8List get toDart;