core.Map<core.String, core.dynamic> toJson() { final algorithm = this.algorithm; final protectionLevel = this.protectionLevel; return {'algorithm': ?algorithm, 'protectionLevel': ?protectionLevel}; }