ChatModel constructor

ChatModel({
  1. required String documentID,
  2. required String authorId,
  3. required String appId,
  4. String? roomId,
  5. DateTime? timestamp,
  6. String? saying,
  7. ChatAccessibleByGroup? accessibleByGroup,
  8. List<String>? accessibleByMembers,
  9. List<String>? readAccess,
  10. List<ChatMediumModel>? chatMedia,
})

Implementation

ChatModel({
  required this.documentID,
  required this.authorId,
  required this.appId,
  this.roomId,
  this.timestamp,
  this.saying,
  this.accessibleByGroup,
  this.accessibleByMembers,
  this.readAccess,
  this.chatMedia,
});