Message constructor

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

Default constructor with all params.

Implementation

Message({
  required this.messageId,
  this.title,
  this.body,
  this.sound,
  this.silent,
  this.customPayload,
  this.internalData,
  this.receivedTimestamp,
  this.seenDate,
  this.contentUrl,
  this.seen,
  this.originalPayload,
  this.vibrate,
  this.icon,
  this.category,
  this.browserUrl,
  this.deeplink,
  this.webViewUrl,
  this.inAppOpenTitle,
  this.inAppDismissTitle,
  this.chat,
});