SetValueMessage constructor

SetValueMessage({
  1. String? messageId,
  2. Set<String> receivers = const <String>{},
  3. String sender = '',
  4. String? replyingToMessage,
  5. String? replyToEndpoint,
})

Creates a SetValueMessage with a newly generated UUIDv4 if messageId is not set.

Creates empty defaults for receivers and sender.

Implementation

SetValueMessage(
    {String? messageId,
    Set<String> receivers = const <String>{},
    String sender = '',
    String? replyingToMessage,
    String? replyToEndpoint})
    : super(
          messageId: messageId,
          receivers: receivers,
          sender: sender,
          replyingToMessage: replyingToMessage,
          replyToEndpoint: replyToEndpoint);