JSUint8ClampedArrayToUint8ClampedList#
Conversions from JSUint8ClampedArray to Uint8ClampedList.
Properties#
toDart extension no setter#
Converts this JSUint8ClampedArray to a Uint8ClampedList by either casting or wrapping it.
Depending on whether code is compiled to JavaScript or Wasm, this conversion will have different semantics.
When compiling to JavaScript, Uint8ClampedLists are JSUint8ClampedArrays and this getter will be a cast.
When compiling to Wasm, the JSUint8ClampedArray is wrapped with a Uint8ClampedList implementation and the wrapper is returned.
Modifications to this JSUint8ClampedArray will affect the returned Uint8ClampedList and vice versa.
Available on JSUint8ClampedArray, provided by the JSUint8ClampedArrayToUint8ClampedList extension
Implementation
external Uint8ClampedList get toDart;