NotificationMessage constructor

NotificationMessage({
  1. required String id,
  2. required String alert,
  3. String? sound,
  4. String? soundName,
  5. String? title,
  6. String? subtitle,
  7. required String type,
  8. required String trigger,
  9. String? url,
  10. String? mediaUrl,
  11. String? mediaAltText,
  12. Map<String, String>? customKeys,
  13. String? custom,
  14. Map<String, String>? payload,
})

Implementation

NotificationMessage({
  required this.id,
  required this.alert,
  this.sound,
  this.soundName,
  this.title,
  this.subtitle,
  required this.type,
  required this.trigger,
  this.url,
  this.mediaUrl,
  this.mediaAltText,
  this.customKeys,
  this.custom,
  this.payload,
});