AppTimeAgoEnMessages class

EnMessages that are suitable for the app.

Notably, the minutes messages match high-fidelity designs which have a shorter minute message.

Inheritance

Constructors

AppTimeAgoEnMessages()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aboutAMinute(int minutes) String
Format when time is about a minute
override
aboutAMonth(int days) String
Format when time is about a month
inherited
aboutAnHour(int minutes) String
Format when time is about an hour
inherited
aboutAYear(int year) String
Format when time is about a year
inherited
aDay(int hours) String
Format when time is a day
inherited
days(int days) String
Format when time is in days
inherited
hours(int hours) String
Format when time is in hours
inherited
lessThanOneMinute(int seconds) String
Format when time is less than a minute
inherited
minutes(int minutes) String
Format when time is in minutes
override
months(int months) String
Format when time is in months
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prefixAgo() String
Example: prefixAgo() 1 min suffixAgo()
inherited
prefixFromNow() String
Example: prefixFromNow() 1 min suffixFromNow()
inherited
suffixAgo() String
Example: prefixAgo() 1 min suffixAgo()
inherited
suffixFromNow() String
Example: prefixFromNow() 1 min suffixFromNow()
inherited
toString() String
A string representation of this object.
inherited
wordSeparator() String
word separator when words are concatenated
inherited
years(int years) String
Format when time is about a year
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited