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