extractXmlBoolValue function

bool? extractXmlBoolValue(
  1. XmlElement elem,
  2. String name
)

Implementation

bool? extractXmlBoolValue(XmlElement elem, String name) {
  final value = extractXmlStringValue(elem, name);
  if (value == null) return null;
  return _parseBool(value);
}