loadFile static method
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);
}