core.Map<core.String, core.dynamic> toJson() => { if (cipherText != null) 'cipherText': cipherText!, if (keyName != null) 'keyName': keyName!, };