Refactor attribute localName check (#525)
Refactor attribute localName check (#525)

Existing implementation uses replaceFirst API which will create a new String. This change replaces it with `localName` API of XmlEventAttribute which internally uses substring.

The end result is overall faster parsing.
dnfield/flutter_svg,dnfield/flutter_svg,dnfield/flutter_svg,dnfield/flutter_svg,dnfield/flutter_svg,dnfield/flutter_svg,dnfield/flutter_svg