toDart property
Converts this JSUint8Array to a Uint8List by either casting or wrapping it.
When compiling to JavaScript, Uint8Lists are JSUint8Arrays and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSUint8Array will affect the Uint8List and vice versa.
Implementation
external Uint8List get toDart;