getAttributeValueAsInt method

int? getAttributeValueAsInt(
  1. String name, [
  2. DOMContext? domContext
])

Calls getAttributeValue and returns parsed as int.

Implementation

int? getAttributeValueAsInt(String name, [DOMContext? domContext]) {
  return parseInt(getAttributeValue(name, domContext));
}