IsoDuration constructor

IsoDuration({
  1. int years = 0,
  2. int months = 0,
  3. int weeks = 0,
  4. int days = 0,
  5. int hours = 0,
  6. int minutes = 0,
  7. int seconds = 0,
  8. bool isNegativeDuration = false,
})

Implementation

IsoDuration({
  this.years = 0,
  this.months = 0,
  this.weeks = 0,
  this.days = 0,
  this.hours = 0,
  this.minutes = 0,
  this.seconds = 0,
  this.isNegativeDuration = false,
});