Mail, database, custom notification channels, delivery events, and testing fakes for Maat applications.
class WelcomeNotification extends Notification {
@override
List<String> via(Object notifiable) => const ['mail'];
@override
MailMessage toMail(Object notifiable) =>
MailMessage().subject('Welcome').line('Thanks for joining.');
}
await user.notify(WelcomeNotification());Register NotificationServiceProvider and include sistrumMigrations when
using the database channel. New Ptah applications include both automatically.