BatchResponse constructor
BatchResponse({
- int? failureCount,
- int? successCount,
- Iterable<
SendResponse> ? responses,
Implementation
factory BatchResponse({
$core.int? failureCount,
$core.int? successCount,
$core.Iterable<SendResponse>? responses,
}) {
final _result = create();
if (failureCount != null) {
_result.failureCount = failureCount;
}
if (successCount != null) {
_result.successCount = successCount;
}
if (responses != null) {
_result.responses.addAll(responses);
}
return _result;
}