seconds property

Duration get seconds

This getter converts given num to Duration in seconds

Implementation

Duration get seconds => Duration(seconds: toInt());