static Duration getTimeSpanFromSeconds(double value) { return Duration(microseconds: (value * Duration.microsecondsPerSecond).round()); }