toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'msgSent': msgSent,
'maxMsgPersisted': maxMsgPersisted,
'did': did,
'wallets': wallets,
'profile': profile.toJson(),
'encryptedPrivateKey': encryptedPrivateKey,
'publicKey': publicKey,
'verificationProof': verificationProof,
'origin': origin,
};
}