go<T extends StandardPage<R> , R extends Object?> method
Navigate to the StandardPageWithResult of type T
that returns a value, with the option to pass pageData
during the navigation.
T
is the type of the destination page. R
is the type of page data. E
is the data type of the value that the page returns.
navigationMode
is optional and represents the mode of StandardPageNavigationMode to use during navigation.
Implementation
Future<void> go<T extends StandardPage<R>, R extends Object?>(R pageData,
[StandardPageNavigationMode? navigationMode]) {
return navigatorContext.go<T, R>(pageData, navigationMode);
}