open method
Implementation
Future<CPDFDocumentError> open(String filePath, String password) async {
var errorCode = await _channel.invokeMethod(
'open_document', {'filePath': filePath, 'password': password});
var error = CPDFDocumentError.values[errorCode];
_isValid = error == CPDFDocumentError.success;
return error;
}