RemoteMessage constructor

const RemoteMessage(
  1. {String? senderId,
  2. String? category,
  3. String? collapseKey,
  4. bool contentAvailable = false,
  5. Map<String, dynamic> data = const <String, dynamic>{},
  6. String? from,
  7. String? messageId,
  8. String? messageType,
  9. bool mutableContent = false,
  10. RemoteNotification? notification,
  11. DateTime? sentTime,
  12. String? threadId,
  13. int? ttl}
)

Implementation

const RemoteMessage(
    {this.senderId,
    this.category,
    this.collapseKey,
    this.contentAvailable = false,
    this.data = const <String, dynamic>{},
    this.from,
    this.messageId,
    this.messageType,
    this.mutableContent = false,
    this.notification,
    this.sentTime,
    this.threadId,
    this.ttl});