This getter converts given num to Duration in seconds
Duration get seconds => Duration(seconds: toInt());