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.
|
|
|
const messageTypeSender = 'sender';
|
|
const messageTypeReceiver = 'receiver';
|
|
|
|
class Message {
|
|
String id;
|
|
String symmetricKey;
|
|
String messageThreadKey;
|
|
String data;
|
|
String senderId;
|
|
String senderUsername;
|
|
Message({
|
|
required this.id,
|
|
required this.symmetricKey,
|
|
required this.messageThreadKey,
|
|
required this.data,
|
|
required this.senderId,
|
|
required this.senderUsername,
|
|
});
|
|
}
|