BatchResult class
The result of a batch operation.
- Annotations
Constructors
-
BatchResult({required int total, List<
BatchItemError> errors = const <BatchItemError>[]}) -
Creates the result.
const
Properties
-
errors
→ List<
BatchItemError> -
The ones that failed. You have to check it: the operation returns 200
even if half of them fail.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleteSuccess → bool
-
Did everything succeed?
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- succeeded → int
-
How many succeeded.
no setter
- total → int
-
How many items were sent.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited