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