SingleValidationResponse constructor

const SingleValidationResponse({
  1. required String email,
  2. required bool isValid,
  3. required int score,
  4. required bool deliverable,
  5. required bool syntaxValid,
  6. required bool domainValid,
  7. required bool mxRecords,
  8. required bool smtpValid,
  9. bool? catchAll,
  10. required bool disposable,
  11. required bool generic,
  12. String? provider,
  13. required String risk,
  14. String? confidence,
  15. String? suggestion,
  16. int? creditsRemaining,
  17. bool? cached,
  18. String? timestamp,
})

Creates a new SingleValidationResponse.

Implementation

const SingleValidationResponse({
  required this.email,
  required this.isValid,
  required this.score,
  required this.deliverable,
  required this.syntaxValid,
  required this.domainValid,
  required this.mxRecords,
  required this.smtpValid,
  this.catchAll,
  required this.disposable,
  required this.generic,
  this.provider,
  required this.risk,
  this.confidence,
  this.suggestion,
  this.creditsRemaining,
  this.cached,
  this.timestamp,
});