go<T extends StandardPage<R> , R extends Object?> method
Navigate to the StandardPage of type T
with the option to pass pageData
during navigation.
T
represents the type of the destination page, and R
signifies the type of page data.
Implementation
Future<void> go<T extends StandardPage<R>, R extends Object?>(R pageData,
[StandardPageNavigationMode? navigationMode]) {
assert(routerDelegate is StandardRouterDelegate);
final tDelegate = routerDelegate as StandardRouterDelegate;
return tDelegate.go<T, R>(pageData, navigationMode);
}