UserMessage constructor
UserMessage({})
Creates a UserMessage with a newly generated UUIDv4 if messageId
is
not set.
Creates empty defaults for receivers
and sender
.
Implementation
UserMessage(
{String? messageId,
Set<String> receivers = const <String>{},
String sender = '',
String? replyingToMessage,
String? replyToEndpoint,
this.attachment,
this.subject,
this.text})
: super(
messageId: messageId,
receivers: receivers,
sender: sender,
replyingToMessage: replyingToMessage,
replyToEndpoint: replyToEndpoint);