routeInformationParser property Null safety

RouteInformationParser<T>? routeInformationParser
final

The route information parser for the router.

When the Router gets a new route information from the routeInformationProvider, the Router uses this delegate to parse the route information and produce a configuration. The configuration will be used by routerDelegate and eventually rebuilds the Router widget.

Since this delegate is the primary consumer of the routeInformationProvider, it must not be null if routeInformationProvider is not null.

Implementation

final RouteInformationParser<T>? routeInformationParser;