fromUser static method
Implementation
static CreateUser fromUser(
{required User user, String? decryptedPrivateKey}) {
var createdUser = CreateUser(decryptedPrivateKey: decryptedPrivateKey);
createdUser.did = user.did;
createdUser.profile = user.profile;
createdUser.name = user.name;
createdUser.about = user.about;
createdUser.verificationProof = user.verificationProof;
createdUser.publicKey = user.publicKey;
createdUser.msgSent = user.msgSent;
createdUser.maxMsgPersisted = user.maxMsgPersisted;
createdUser.wallets = user.wallets;
createdUser.encryptedPrivateKey = user.encryptedPrivateKey;
return createdUser;
}