Email constructor

const Email({
  1. String? address,
  2. String? body,
  3. String? subject,
  4. EmailType type = EmailType.unknown,
})

Construct a new Email instance.

Implementation

const Email({
  this.address,
  this.body,
  this.subject,
  this.type = EmailType.unknown,
});