Document.load constructor
      
      Document.load(
    
    
- PdfDocumentParserBase parser, {
 - @Deprecated('Not used') PdfPageMode pageMode = PdfPageMode.none,
 - DeflateCallback? deflate,
 - bool compress = true,
 - bool verbose = false,
 - ThemeData? theme,
 - String? title,
 - String? author,
 - String? creator,
 - String? subject,
 - String? keywords,
 - String? producer,
 
Implementation
Document.load(
  PdfDocumentParserBase parser, {
  @Deprecated('Not used') PdfPageMode pageMode = PdfPageMode.none,
  DeflateCallback? deflate,
  bool compress = true,
  bool verbose = false,
  this.theme,
  String? title,
  String? author,
  String? creator,
  String? subject,
  String? keywords,
  String? producer,
}) : document = PdfDocument.load(
        parser,
        deflate: deflate,
        compress: compress,
        verbose: verbose,
      ) {
  if (title != null ||
      author != null ||
      creator != null ||
      subject != null ||
      keywords != null ||
      producer != null) {
    PdfInfo(
      document,
      title: title,
      author: author,
      creator: creator,
      subject: subject,
      keywords: keywords,
      producer: producer,
    );
  }
}