view static method

Future<MailerInterface> view(
  1. String viewName, [
  2. Map<String, dynamic>? data
])

Renders a view template for the email body.

Implementation

static Future<MailerInterface> view(
  String viewName, [
  Map<String, dynamic>? data,
]) =>
    manager.view(viewName, data);