isSVG function

bool isSVG(
  1. String value
)

Implementation

bool isSVG(String value) {
  return value.split('.').last == 'svg';
}