User.fromJson constructor
Implementation
User.fromJson(Map<String, dynamic> json) {
did = json['did'];
wallets = json['wallets'];
publicKey = json['publicKey'];
encryptedPrivateKey = json['encryptedPrivateKey'];
verificationProof = json['verificationProof'];
msgSent = json['msgSent'];
maxMsgPersisted = json['maxMsgPersisted'];
profile =
json['profile'] != null ? UserProfile.fromJson(json['profile']) : null;
}