QueryResponse class
Response for query/exec operations returning binary or error.
- Inheritance
-
- Object
- WorkerResponse
- QueryResponse
Constructors
- QueryResponse(int requestId, {Uint8List? data, TransferableTypedData? transferableData, String? error, WorkerFailureSnapshot? failure})
Properties
- data → Uint8List?
-
no setter
- error → String?
-
final
- failure → WorkerFailureSnapshot?
-
finalinherited
- hasData → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestId → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withFailure(
WorkerFailureSnapshot snapshot) → QueryResponse
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited