errorMessageMixed static method

String errorMessageMixed(
  1. String path
)

Returns an error message when a file is neither a PDF nor an image, or does not exist.

  • path The file path of the invalid or non-existent file.

Implementation

static String errorMessageMixed(String path) =>
    "The file is neither a PDF document nor an image or does not exist: $path";