XNotification constructor

XNotification({
  1. required String id,
  2. required String title,
  3. required String body,
  4. String? threadId,
  5. Map<String, String> data = const {},
})

Binds the notification's identity to the text the OS displays.

Implementation

XNotification({
  required this.id,
  required this.title,
  required this.body,
  this.threadId,
  this.data = const {},
});