abs method
Returns the absolute value of this duration.
Implementation
XPathDuration abs() => XPathDuration(
totalMonths: totalMonths.abs(),
totalMicroseconds: totalMicroseconds.abs(),
type: type,
);
Returns the absolute value of this duration.
XPathDuration abs() => XPathDuration(
totalMonths: totalMonths.abs(),
totalMicroseconds: totalMicroseconds.abs(),
type: type,
);