PostHogRouteFilter typedef

PostHogRouteFilter = bool Function(Route? route)

PostHogRouteFilter allows to filter out routes that should not be tracked.

By default, only PageRoutes are tracked.

Implementation

typedef PostHogRouteFilter = bool Function(Route<dynamic>? route);