isImage method

bool isImage()

check if string is valid image example: pic.png, pic.jpg, pic.gif

Implementation

bool isImage() => _image.hasMatch(this);