errorMessageImage static method

String errorMessageImage(
  1. String path
)

Returns an error message when a file is not a valid image or does not exist.

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

Implementation

static String errorMessageImage(String path) =>
    "File is not an image or does not exist: $path";