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. bool? geo,
  13. Map<String, dynamic>? originalPayload,
  14. bool? vibrate,
  15. String? icon,
  16. String? category,
  17. String? browserUrl,
  18. String? deeplink,
  19. String? webViewUrl,
  20. String? inAppOpenTitle,
  21. String? inAppDismissTitle,
  22. bool? chat,
})

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.geo,
  this.originalPayload,
  this.vibrate,
  this.icon,
  this.category,
  this.browserUrl,
  this.deeplink,
  this.webViewUrl,
  this.inAppOpenTitle,
  this.inAppDismissTitle,
  this.chat,
});