errorMessageInvalidOutputPath static method
Returns an error message when the outputPath does not have the expected .pdf format.
path
The file path that does not meet the expected format.
Implementation
static String errorMessageInvalidOutputPath(String path) =>
"The outputPath must have a .pdf format: $path";