fromThreadProto static method

UserProtobuf fromThreadProto(
  1. Message messageProto
)

Implementation

static UserProtobuf fromThreadProto(protomsg.Message messageProto) {
  return UserProtobuf(
    uid: messageProto.thread.user.uid,
    nickname: messageProto.thread.user.nickname,
    avatar: messageProto.thread.user.avatar,
  );
}