NotificationModel constructor
NotificationModel({
- NotificationContent? content,
- NotificationSchedule? schedule,
- List<
NotificationActionButton> ? actionButtons, - 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;