ThemedHumanizedDurationLanguage class

Implemented types

Constructors

ThemedHumanizedDurationLanguage({LayrzAppLocalizations? i18n})
ThemedHumanizedDurationLanguage is the default language for Duration.humanize function. If you use LayrzAppLocalizations, it will use the following keys:
const

Properties

hashCode int
The hash code for this object.
no setterinherited
i18n → LayrzAppLocalizations?
i18n is the LayrzAppLocalizations instance to use for translations.
final
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.
override
hour(int value) String
hour is the translation for the hour unit.
override
millisecond(int value) String
millisecond is the translation for the millisecond unit.
override
minute(int value) String
minute is the translation for the minute unit.
override
month(int value) String
month is the translation for the month unit.
override
name() String
name is the name of the language, only used internally to identify the language.
override
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.
override
toString() String
A string representation of this object.
inherited
week(int value) String
week is the translation for the week unit.
override
year(int value) String
year is the translation for the year unit.
override

Operators

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