isImg property

bool get isImg

Ensure to detect img html tags

Implementation

bool get isImg => localName == 'img';