Describe the bug 🐛
when the facetlist has not and EventTracker breaks the FaceList usage
To Reproduce 🔍
Steps to reproduce the behavior:
Just try to instanciate the object like this:
late final _facetList = _productsSearcher.buildFacetList(
filterState: _filterState,
attribute: 'activity_type',
);
After that when you try to access to _facetList.facets the validation try to use the getters, because the property was marked as late final, the code break.
Expected behavior 💭
Should be work with that param in null
Describe the bug 🐛
when the facetlist has not and EventTracker breaks the FaceList usage
To Reproduce 🔍
Steps to reproduce the behavior:
Just try to instanciate the object like this:
After that when you try to access to
_facetList.facets
the validation try to use the getters, because the property was marked as late final, the code break.Expected behavior 💭
Should be work with that param in null
Environment: