extractXmlIntValue function

int? extractXmlIntValue(
  1. XmlElement elem,
  2. String name
)

Implementation

int? extractXmlIntValue(XmlElement elem, String name) {
  final str = extractXmlStringValue(elem, name);
  return str == null ? null : int.parse(str);
}