Message constructor
Implementation
factory Message({
Topic? topic,
$core.String? channelId,
$core.String? msgId,
$core.List<$core.int>? payload,
}) {
final $result = create();
if (topic != null) {
$result.topic = topic;
}
if (channelId != null) {
$result.channelId = channelId;
}
if (msgId != null) {
$result.msgId = msgId;
}
if (payload != null) {
$result.payload = payload;
}
return $result;
}