operator + method
Adds another XPathDuration to this one.
Implementation
XPathDuration operator +(XPathDuration other) => XPathDuration(
totalMonths: totalMonths + other.totalMonths,
totalMicroseconds: totalMicroseconds + other.totalMicroseconds,
type: type == other.type ? type : xsDuration,
);