DefaultLocatorService.create constructor

DefaultLocatorService.create(
  1. List<Link> readingOrder,
  2. Ref<Publication> publication
)

Implementation

factory DefaultLocatorService.create(
        List<Link> readingOrder, Ref<Publication> publication) =>
    DefaultLocatorService(readingOrder,
        () => publication()?.positionsByReadingOrder() ?? Future.value([]));