XPathDuration.yearMonth constructor
const
XPathDuration.yearMonth(
- int totalMonths
Creates a new XPathDuration representing an xs:yearMonthDuration.
Implementation
const new yearMonth(int totalMonths)
: this(totalMonths: totalMonths, type: xsYearMonthDuration);