getPageFactory<T extends StandardPageWithResult<R, E>, R extends Object?, E extends Object?> method

StandardPageWithResultFactory<T, R, E> getPageFactory<T extends StandardPageWithResult<R, E>, R extends Object?, E extends Object?>()

Get the factory class StandardPageWithResultFactory of StandardPageWithResult. 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.

Implementation

StandardPageWithResultFactory<T, R, E> getPageFactory<
    T extends StandardPageWithResult<R, E>,
    R extends Object?,
    E extends Object?>() {
  assert(routerDelegate is StandardRouterDelegate);
  final tDelegate = routerDelegate as StandardRouterDelegate;

  return tDelegate.getPageFactory<T, R, E>();
}