Flutter
quiver.time
Clock
weeksAgo method
weeksAgo
Clock class
Constructors
Clock
fixed
Properties
hashCode
runtimeType
Methods
ago
agoBy
daysAgo
daysFromNow
fromNow
fromNowBy
hoursAgo
hoursFromNow
microsAgo
microsFromNow
millisAgo
millisFromNow
minutesAgo
minutesFromNow
monthsAgo
monthsFromNow
now
secondsAgo
secondsFromNow
weeksAgo
weeksFromNow
yearsAgo
yearsFromNow
noSuchMethod
toString
Operators
operator ==
weeksAgo method
DateTime
weeksAgo
(
int
weeks
)
Return the point in time
weeks
ago.
Implementation
DateTime weeksAgo(int weeks) => ago(days: 7 * weeks);