seconds property Null safety

Duration seconds

Returns current int in Duration of seconds

Implementation

Duration get seconds {
  return Duration(seconds: this);
}