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