ChromePageCapture class
class ChromePageCapture extends ChromeApi {
 static final JsObject _pageCapture = chrome['pageCapture'];
 ChromePageCapture._();
 bool get available => _pageCapture != null;
 /**
  * Saves the content of the tab with given id as MHTML.
  * 
  * Returns:
  * The MHTML data as a Blob.
  */
 Future<dynamic> saveAsMHTML(PageCaptureSaveAsMHTMLParams details) {
   if (_pageCapture == null) _throwNotAvailable();
   var completer = new ChromeCompleter<dynamic>.oneArg();
   _pageCapture.callMethod('saveAsMHTML', [jsify(details), completer.callback]);
   return completer.future;
 }
 void _throwNotAvailable() {
   throw new UnsupportedError("'chrome.pageCapture' is not available");
 }
}
Extends
ChromeApi > ChromePageCapture
Properties
final bool available #
Returns true if the API is available. The common causes of an API not being avilable are:
- a permission is missing in the application's manifest.json file
 - the API is defined on a newer version of Chrome then the current runtime
 
docs inherited from ChromeApi 
bool get available => _pageCapture != null;
Methods
Future<dynamic> saveAsMHTML(PageCaptureSaveAsMHTMLParams details) #
Saves the content of the tab with given id as MHTML.
Returns: The MHTML data as a Blob.
Future<dynamic> saveAsMHTML(PageCaptureSaveAsMHTMLParams details) {
 if (_pageCapture == null) _throwNotAvailable();
 var completer = new ChromeCompleter<dynamic>.oneArg();
 _pageCapture.callMethod('saveAsMHTML', [jsify(details), completer.callback]);
 return completer.future;
}