toDart property

Uint8ClampedList toDart

Converts this JSUint8ClampedArray to a Uint8ClampedList by either casting or wrapping it.

When compiling to JavaScript, Uint8ClampedLists are JSUint8ClampedArrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSUint8ClampedArray will affect the Uint8ClampedList and vice versa.

Implementation

external Uint8ClampedList get toDart;