ValidationResponse constructor

ValidationResponse({
  1. required String schemaVersion,
  2. required String email,
  3. required ValidationResponseStatusEnum status,
  4. required ValidationResponseActionEnum action,
  5. ValidationResponseSubStatusEnum? subStatus,
  6. required String domain,
  7. required bool mxFound,
  8. String? mxHost,
  9. bool? smtpCheck,
  10. bool? catchAll,
  11. required bool disposable,
  12. required bool roleAccount,
  13. required bool freeProvider,
  14. required ValidationResponseDepthEnum depth,
  15. required DateTime processedAt,
  16. String? suggestedEmail,
  17. int? retryAfterMs,
  18. ValidationResponseSuppressionMatch? suppressionMatch,
  19. ValidationResponsePolicyApplied? policyApplied,
})

Returns a new ValidationResponse instance.

Implementation

ValidationResponse({
  required this.schemaVersion,
  required this.email,
  required this.status,
  required this.action,
  this.subStatus,
  required this.domain,
  required this.mxFound,
  this.mxHost,
  this.smtpCheck,
  this.catchAll,
  required this.disposable,
  required this.roleAccount,
  required this.freeProvider,
  required this.depth,
  required this.processedAt,
  this.suggestedEmail,
  this.retryAfterMs,
  this.suppressionMatch,
  this.policyApplied,
});