TimeSpan.ofParts(List<num?> parts, {this.negated = false}) : assert(parts.length == 7), _values = List.unmodifiable([ for (var value in parts) value?.toDouble() ?? 0.0, ]);