Duration constructor

Duration({
  1. DurationUnit? unit,
  2. int? value,
})

Implementation

Duration({
  this.unit,
  this.value,
});