PdfDocumentParser constructor

PdfDocumentParser(
  1. Uint8List bytes, {
  2. bool enableCache = true,
  3. int cacheBlockSize = 256 * 1024,
  4. int cacheMaxBlocks = 32,
  5. bool allowRepair = false,
})

Implementation

PdfDocumentParser(
  Uint8List bytes, {
  bool enableCache = true,
  int cacheBlockSize = 256 * 1024,
  int cacheMaxBlocks = 32,
  bool allowRepair = false,
})  : _allowRepair = allowRepair,
      super.fromBytes(
        bytes,
        enableCache: enableCache,
        cacheBlockSize: cacheBlockSize,
        cacheMaxBlocks: cacheMaxBlocks,
      );