ChannelMessageAck.fromDto constructor
ChannelMessageAck.fromDto(
- ChannelMessageAck dto
Implementation
factory ChannelMessageAck.fromDto(rtpb.ChannelMessageAck dto) =>
ChannelMessageAck(
channelId: dto.channelId,
messageId: dto.messageId,
code: dto.code.value,
username: dto.username,
created: dto.createTime.toDateTime(),
updated: dto.updateTime.toDateTime(),
persistent: dto.persistent.value,
roomName: dto.roomName,
groupId: dto.groupId,
userIdOne: dto.userIdOne,
userIdTwo: dto.userIdTwo,
);