navigateTo<T> method
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,
List<Destination>? history,
bool useRootDelegate = false,
}) {
return DBRouterDelegate.of(this, root: useRootDelegate).navigateTo<T>(
location: location,
arguments: arguments,
history: history,
);
}