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