generateLinkWithResult<P extends StandardPageWithResult<R, E> , R extends Object?, E extends Object?> method
String?
generateLinkWithResult<P extends StandardPageWithResult<R, E> , R extends Object?, E extends Object?>(
- R pageData
Retrieve a deep link for the specified pageData (when the page that retrieves the deep link returns a value).
P is the type of the destination page, R is the type of page data, and E is the data type of the value that the page returns.
These should be the same as what you set in your StandardPageWithResultFactory.
Implementation
String? generateLinkWithResult<
P extends StandardPageWithResult<R, E>,
R extends Object?,
E extends Object?
>(R pageData) {
return delegate?.getPageFactory<P, R, E>().linkGenerator?.call(pageData);
}