Route<T> constructor

Route<T>({RouteSettings settings })

Initialize the Route.

If the settings are not provided, an empty RouteSettings object is used instead.

Implementation

Route({ RouteSettings settings }) : settings = settings ?? const RouteSettings();