seconds method

Duration seconds()

Returns seconds duration

5.seconds

Implementation

Duration seconds() => Duration(seconds: this);