view method
Renders a view template for the email body.
The view is rendered using the Khadem view system.
Example:
await mailer.view('emails.welcome', {'name': 'John'});
Implementation
@override
Future<MailerInterface> view(
String viewName, [
Map<String, dynamic>? data,
]) =>
defaultMailer.view(viewName, data);