saveAsMHTML method

Future<ByteBuffer?> saveAsMHTML(
  1. SaveAsMhtmlDetails details
)

Saves the content of the tab with given id as MHTML. returns Called when the MHTML has been generated.

Implementation

Future<ByteBuffer?> saveAsMHTML(SaveAsMhtmlDetails details) async {
  var $res = await promiseToFuture<JSArrayBuffer?>(
      $js.chrome.pageCapture.saveAsMHTML(details.toJS));
  return $res?.toDart;
}