fromPath static method

Future<PDFDoc> fromPath(
  1. String path, {
  2. String password = "",
})

Implementation

static Future<PDFDoc> fromPath(String path, {String password = ""}) async {
  final doc = PDFDoc._(path: path, password: password);
  await doc._init();
  return doc;
}