Mailto constructor

Mailto({
  1. List<String>? to,
  2. List<String>? cc,
  3. List<String>? bcc,
  4. String? subject,
  5. String? body,
})

Create a Mailto instance.

Convert the instance to String in order to get the mailto URL corresponding to the instance.

Fields aren't validated. Check Mailto.validateParameters for more info.

Implementation

Mailto({
  this.to,
  this.cc,
  this.bcc,
  this.subject,
  this.body,
});