fromMessage static method

Message fromMessage(
  1. Message message,
  2. String status
)

Implementation

static Message fromMessage(Message message, String status) {
  return Message(
    uid: message.uid,
    type: message.type,
    content: message.content,
    status: status,
    createdAt: message.createdAt,
    client: message.client,
    extra: message.extra,
    //
    threadTopic: message.threadTopic,
    user: message.user,
  );
}