toJson method

Map<String, dynamic> toJson()

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,
  };
}