Returns the route paths that should be invalidated.
List<String> affectedRoutePaths() => [ '/products/$slug', if (categorySlug != null) '/categories/$categorySlug', ];