build method

PapilioRouterDelegate<T> build(
  1. Future<void> setNewRoutePath(
    1. PapilioRouterDelegate<T> delegate,
    2. T configuration
    )
)

Implementation

PapilioRouterDelegate<T> build(
  Future<void> Function(
    PapilioRouterDelegate<T> delegate,
    T configuration,
  )
      setNewRoutePath,
) =>
    PapilioRouterDelegate<T>(
      _pages,
      setNewRoutePath,
      getCurrentConfiguration,
    );