CancelScanResponse constructor

CancelScanResponse({
  1. required String job,
  2. required OperationResult result,
})

Implementation

CancelScanResponse({
  /// The same job handle that was passed to `cancelScan()`.
  required String job,

  /// The backend's cancel scan result.
  required OperationResult result,
}) : _wrapped = $js.CancelScanResponse(
        job: job,
        result: result.toJS,
      );