isSVG property

bool isSVG

Check if string is a Svg image

Implementation

bool get isSVG => isEmpty ? false : endsWith(".svg");