DurationDto constructor

DurationDto({
  1. double? value,
  2. CodeStubDto? unit,
})

Returns a new DurationDto instance.

Implementation

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