TimeAgo extension
- on
Methods
-
timeElasped(
{bool showFullLabels = false}) → String -
Available on DateTime, provided by the TimeAgo extension
Get time format as 1m ago or 1d ago. It will return in seconds, minuts, hours, days, weeks, months and years.showFullLabelsmeans it will return hour instead of h.