operator / method

  1. @override
XPathNumeric operator /(
  1. XPathNumeric other
)
override

Implementation

@override
XPathNumeric operator /(XPathNumeric other) => switch (other) {
  final XPathInteger i => toDecimal() / i.toDecimal(),
  final XPathDecimal d => toDecimal() / d,
  final XPathDouble d => XPathDouble(toDouble() / d.value),
};