goWithResult<T extends StandardPageWithResult<R, E> , R extends Object?, E extends Object?> method
Future<E?>
goWithResult<T extends StandardPageWithResult<R, E> , R extends Object?, E extends Object?>(
- R pageData, [
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<E?> goWithResult<T extends StandardPageWithResult<R, E>,
R extends Object?, E extends Object?>(R pageData,
[StandardPageNavigationMode? navigationMode]) {
return navigatorContext.goWithResult<T, R, E>(pageData, navigationMode);
}