seconds property
Duration
get
seconds
Creates Duration in seconds
Example:
2.seconds // Duration(seconds: 2)
Implementation
Duration get seconds => Duration(seconds: toInt());
Creates Duration in seconds
Example:
2.seconds // Duration(seconds: 2)
Duration get seconds => Duration(seconds: toInt());