getOptionGroups method

Future<GetOptionGroupsResponse> getOptionGroups(
  1. String scannerHandle
)

Gets the group names and member options from a scanner handle previously opened by openScanner. |scannerHandle| : Open scanner handle previously returned from openScanner. |callback| : Called with the result.

Implementation

Future<GetOptionGroupsResponse> getOptionGroups(String scannerHandle) async {
  var $res = await promiseToFuture<$js.GetOptionGroupsResponse>(
      $js.chrome.documentScan.getOptionGroups(scannerHandle));
  return GetOptionGroupsResponse.fromJS($res);
}