ThemedHumanizeLanguage class abstract

Implementers

Constructors

ThemedHumanizeLanguage()
ThemedHumanizeLanguage is the default language for Duration.humanize function. You can create your own language by extending this class and overriding the methods.
const

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

day(int value) String
day is the translation for the day unit.
hour(int value) String
hour is the translation for the hour unit.
millisecond(int value) String
millisecond is the translation for the millisecond unit.
minute(int value) String
minute is the translation for the minute unit.
month(int value) String
month is the translation for the month unit.
name() String
name is the name of the language, only used internally to identify the language.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
second(int value) String
second is the translation for the second unit.
toString() String
A string representation of this object.
inherited
week(int value) String
week is the translation for the week unit.
year(int value) String
year is the translation for the year unit.

Operators

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