LitTimeUnit enum

A collection of time units available varying amounts of time Simplifies the localized string value.

Inheritance
Available extensions

Values

second → const LitTimeUnit

A second contains msPerSecondms.

minute → const LitTimeUnit

A minute contains msPerMinutems.

hour → const LitTimeUnit

An hour contains msPerHourms.

day → const LitTimeUnit

An hour contains msPerDayms.

month → const LitTimeUnit

A month contains msPerMonthms.

year → const LitTimeUnit

A year contains msPerDayms.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<LitTimeUnit>
A constant List of the values in this enum, in order of their declaration.