attach static method

MailerInterface attach(
  1. String path, {
  2. String? name,
  3. String? mimeType,
})

Attaches a file.

Implementation

static MailerInterface attach(
  String path, {
  String? name,
  String? mimeType,
}) =>
    manager.attach(path, name: name, mimeType: mimeType);