InboxMessage constructor

InboxMessage({
  1. required String messageId,
  2. required bool seen,
  3. required String topic,
  4. String? title,
  5. String? body,
  6. String? sound,
  7. bool? vibrate,
  8. String? icon,
  9. bool? silent,
  10. String? category,
  11. Map<String, dynamic>? customPayload,
  12. String? internalData,
  13. String? contentUrl,
  14. Map<String, dynamic>? originalPayload,
  15. String? browserUrl,
  16. String? deeplink,
  17. String? webViewUrl,
  18. String? inAppOpenTitle,
  19. String? inAppDismissTitle,
  20. num? sentTimestamp,
})

Default constructor with all params.

Implementation

InboxMessage({
  required this.messageId,
  required this.seen,
  required this.topic,
  this.title,
  this.body,
  this.sound,
  this.vibrate,
  this.icon,
  this.silent,
  this.category,
  this.customPayload,
  this.internalData,
  this.contentUrl,
  this.originalPayload,
  this.browserUrl,
  this.deeplink,
  this.webViewUrl,
  this.inAppOpenTitle,
  this.inAppDismissTitle,
  this.sentTimestamp,
});