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