ChatReplySnapshot constructor

const ChatReplySnapshot({
  1. required String messageId,
  2. required String authorId,
  3. required String authorDisplayName,
  4. String? authorAvatarUrl,
  5. required String textPreview,
  6. required DateTime createdAt,
})

Creates a new ChatReplySnapshot.

All parameters except authorAvatarUrl are required.

Implementation

const ChatReplySnapshot({
  required this.messageId,
  required this.authorId,
  required this.authorDisplayName,
  this.authorAvatarUrl,
  required this.textPreview,
  required this.createdAt,
});