XPathInteger constructor

XPathInteger(
  1. BigInt value, [
  2. XPathType type = xsInteger,
  3. int? intValue
])

Implementation

new(this.value, [this.type = xsInteger, int? intValue])
  : intValue = intValue ?? (value.isValidInt ? value.toInt() : null);