arrayBuffer method

Future<ArrayBuffer> arrayBuffer()

Returns a promise that resolves with an ArrayBuffer representation of the request body.

MDN reference

Implementation

Future<ArrayBuffer> arrayBuffer() =>
    blob().then((blob) => blob.arrayBuffer());