Route<T> constructor
Null safety
- {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();