TimeSpan constructor
TimeSpan({})
Implementation
TimeSpan(
{bool negated = false,
int years = 0,
int months = 0,
int weeks = 0,
int days = 0,
int hours = 0,
int minutes = 0,
int seconds = 0,
int millis = 0,
int micros = 0})
: this.ofParts(<double>[
years.toDouble(),
months.toDouble(),
weeks.toDouble(),
days.toDouble(),
hours.toDouble(),
minutes.toDouble(),
_secondsDecimal(seconds: seconds, millis: millis, micros: micros)
.toDouble(),
], negated: negated);