loadFile static method

Future<bool> loadFile(
  1. String path, {
  2. String? password,
})

This method loads a file from the given path. If it is an encrypted PDF file, you need to provide the password.

Implementation

static Future<bool> loadFile(String path, {String? password}) {
  return DocutainSdkPlatform.instance.loadFile(path, password, true);
}