isVector property

bool get isVector

Checks if string is a vector file.

Implementation

bool get isVector {
  return _string.toLowerCase().endsWith(".svg");
}