Time.fromSeconds constructor
Time.fromSeconds(
- int seconds
Creates a Time period instance from a total seconds
.
Implementation
factory Time.fromSeconds(int seconds) {
return Time.fromDuration(Duration(seconds: seconds));
}