createFactory static method

ServiceFactory createFactory({
  1. required String fallbackMediaType,
})

Implementation

static ServiceFactory createFactory({required String fallbackMediaType}) =>
    (context) => PerResourcePositionsService(
        readingOrder: context.manifest.readingOrder,
        fallbackMediaType: fallbackMediaType);