prefetcher property

FutureOr<void> Function(RouterState)? prefetcher
final

An optional function for prefetching resources before loading this route.

See RouteDefinition.defer for details.

Implementation

final FutureOr<void> Function(RouterState)? prefetcher;