toString method
Returns a string representation of the WooProductReviewBatchResponse instance
This method provides a human-readable representation of the batch response, displaying the counts of create, update, and delete results.
Returns
A String containing the batch response's result counts in a readable format.
Example Usage
final batchResponse = WooProductReviewBatchResponse(
create: [review1, review2],
update: [review3],
delete: [review4, review5],
);
print(batchResponse.toString());
// Output: WooProductReviewBatchResponse(create: 2, update: 1, delete: 2)
Implementation
@override
String toString() {
return 'WooProductReviewBatchResponse(create: ${create?.length ?? 0}, update: ${update?.length ?? 0}, delete: ${delete?.length ?? 0})';
}