NotificationModel constructor

NotificationModel({
  1. NotificationContent? content,
  2. NotificationSchedule? schedule,
  3. List<NotificationActionButton>? actionButtons,
  4. Map<String, NotificationLocalization>? localizations,
})

Creates a new instance of the NotificationModel class with the given content, schedule, action buttons, and localizations.

Implementation

NotificationModel({
  NotificationContent? content,
  NotificationSchedule? schedule,
  List<NotificationActionButton>? actionButtons,
  Map<String, NotificationLocalization>? localizations,
})  : _content = content,
      _schedule = schedule,
      _actionButtons = actionButtons,
      _localizations = localizations;