fromProto static method
Implementation
static Message fromProto(protomsg.Message messageProto) {
return Message(
uid: messageProto.uid,
type: messageProto.type,
content: messageProto.content,
// status: messageProto.status,
status: BytedeskConstants.MESSAGE_STATUS_SUCCESS,
createdAt: messageProto.createdAt,
client: messageProto.client,
extra: messageProto.extra,
//
threadTopic: messageProto.thread.topic,
user: UserProtobuf.fromProto(messageProto),
);
}