readScanData method
Reads the next chunk of available image data from an active job handle, and returns a Promise that resolves with a ReadScanDataResponse object. If a callback is used, the object is passed to it instead.
|job| : Active job handle previously returned from startScan. |Returns| : Returns a Promise which resolves with the result.
Implementation
Future<ReadScanDataResponse> readScanData(String job) async {
var $res = await $js.chrome.documentScan.readScanData(job).toDart;
return ReadScanDataResponse.fromJS($res);
}