fromProto static method
Implementation
static UserProtobuf fromProto(protomsg.Message messageProto) {
return UserProtobuf(
uid: messageProto.user.uid,
nickname: messageProto.user.nickname,
avatar: messageProto.user.avatar,
);
}
static UserProtobuf fromProto(protomsg.Message messageProto) {
return UserProtobuf(
uid: messageProto.user.uid,
nickname: messageProto.user.nickname,
avatar: messageProto.user.avatar,
);
}