ViewInfoExtractor typedef

ViewInfoExtractor = RumViewInfo? Function(Route route)

A function that can be used to supply custom information to DatadogRum.startView.

Returning null from this function will prevent the call to DatadogRum.startView.

See DatadogNavigationObserver.viewInfoExtractor.

Implementation

typedef ViewInfoExtractor = RumViewInfo? Function(Route<dynamic> route);