from static method

MailerInterface from(
  1. String address, [
  2. String? name
])

Sets the sender (from address).

Implementation

static MailerInterface from(String address, [String? name]) =>
    manager.from(address, name);