NotificationConfig constructor

NotificationConfig({
  1. required NotifyProvider provider,
  2. required String webhookUrl,
  3. NotifyOn on = NotifyOn.always,
  4. String? title,
  5. String? message,
  6. String? chatId,
})

Creates a notification entry.

Implementation

NotificationConfig({
  required this.provider,
  required this.webhookUrl,
  this.on = NotifyOn.always,
  this.title,
  this.message,
  this.chatId,
});