Duration constructor

const Duration(
  1. DurationType type, {
  2. int dots = 0,
})

Implementation

const Duration(this.type, {this.dots = 0});