Map<String, dynamic> toJson() { return { 'encryptionPublicKey': encryptionPublicKey, 'message': message, 'requiresAuthentication': requiresAuthentication, }; }