navigateTo<T> method
Null safety
Navigate to the following location
.
location
to navigate to. Must be unique in the current navigation stack.
arguments
to pass at the location.
Implementation
Future<T?> navigateTo<T>({
required String location,
Object? arguments,
bool useRootDelegate = false,
}) {
return DBRouterDelegate.of(this, root: useRootDelegate)
.navigateTo<T>(location: location, arguments: arguments);
}