title: How to check if the given path is of image or video?
body: <p>I am getting a file path from file_picker flutter package. I want to know if the given path is of an image or video? How would i know that if the provided path is of image or video.</p>