Encrypted messaging app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
452 B

  1. const messageTypeSender = 'sender';
  2. const messageTypeReceiver = 'receiver';
  3. class Message {
  4. String id;
  5. String symmetricKey;
  6. String messageThreadKey;
  7. String data;
  8. String senderId;
  9. String senderUsername;
  10. Message({
  11. required this.id,
  12. required this.symmetricKey,
  13. required this.messageThreadKey,
  14. required this.data,
  15. required this.senderId,
  16. required this.senderUsername,
  17. });
  18. }