NiceNotificationItem constructor
const
NiceNotificationItem({
- required String id,
- required String title,
- String? message,
- NiceNotificationType type = NiceNotificationType.info,
- DateTime? timestamp,
- String? actionLabel,
- VoidCallback? onAction,
- bool read = false,
- Map<
String, dynamic> ? data,
Implementation
const NiceNotificationItem({
required this.id,
required this.title,
this.message,
this.type = NiceNotificationType.info,
this.timestamp,
this.actionLabel,
this.onAction,
this.read = false,
this.data,
});