toDart property - JSDataViewToByteData extension - dart:js_interop library (original) (raw)
ByteData gettoDart
Converts this JSDataView to a ByteData by either casting or wrapping it.
When compiling to JavaScript, ByteDatas are JSDataViews and this operation will be a cast. When compiling to Wasm, a wrapper is introduced. Modifications to this JSDataView will affect the ByteData and vice versa.
Implementation
external ByteData get toDart;