BulkValidationResult class

Results from a completed bulk email validation job.

Contains all individual validation results and a summary of the job.

Example:

final results = await client.getJobResults(job.id);
print('Total: ${results.summary.total}');
print('Valid: ${results.summary.valid}');
print('Invalid: ${results.summary.invalid}');

for (final result in results.results) {
  print('${result.email}: ${result.isValid ? "Valid" : "Invalid"}');
}

Constructors

BulkValidationResult({required String jobId, required String status, required List<SingleValidationResponse> results, required BulkSummary summary})
Creates a new BulkValidationResult.
const
BulkValidationResult.fromJson(Map<String, dynamic> json)
Creates a BulkValidationResult from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
jobId String
The ID of the job these results belong to.
final
results List<SingleValidationResponse>
List of validation results for each email.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
The final status of the job: 'COMPLETED' or 'FAILED'.
final
summary BulkSummary
Summary statistics of the validation job.
final

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