operator - method
Subtracts another XPathDuration from this one.
Implementation
XPathDuration operator -(XPathDuration other) => XPathDuration(
totalMonths: totalMonths - other.totalMonths,
totalMicroseconds: totalMicroseconds - other.totalMicroseconds,
type: type == other.type ? type : xsDuration,
);