CancelScanResponse class

Constructors

CancelScanResponse({required String job, required OperationResult result})
CancelScanResponse.fromJS(CancelScanResponse _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
job ↔ String
Provides the same job handle that was passed to cancelScan().
getter/setter pair
result ↔ OperationResult
The backend's cancel scan result. If the result is OperationResult.SUCCESS or OperationResult.CANCELLED, the scan has been cancelled and the scanner is ready to start a new scan. If the result is OperationResult.DEVICE_BUSY , the scanner is still processing the requested cancellation; the caller should wait a short time and try the request again. Other result values indicate a permanent error that should not be retried.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → CancelScanResponse
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited