NotificationMessage constructor

NotificationMessage({
  1. required int id,
  2. required String title,
  3. required String body,
  4. String? payload,
  5. List<NotificationAction>? actions,
})

Creates a NotificationMessage.

Implementation

NotificationMessage(
    {required this.id,
    required this.title,
    required this.body,
    this.payload,
    this.actions});