Time enum Null safety

Inheritance

Constructors

Time()
const

Values

nanosecond → const Time

A nanosecond

microsecond → const Time

A microsecond

millisecond → const Time

A millisecond.

second → const Time

Second

minute → const Time

A minute. 60 times a second

hour → const Time

An hour. 60 times a minute

day → const Time

A day. 24 times an hour

week → const Time

A week. 7 times a day

month → const Time

A month. 30 times a day

calendarYear → const Time

An year. 12 times a month

decade → const Time

A decade. 10 times an year

century → const Time

A century. 10 times a decade

millenium → const Time

A millenium. 10 times a century

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<Time>
A constant List of the values in this enum, in order of their declaration.
[nanosecond, microsecond, millisecond, second, minute, hour, day, week, month, calendarYear, decade, century, millenium]