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