TimeUnit class

Inheritance

Constructors

TimeUnit.unknown(String value)
const

Properties

diffHashCode int
no setterinherited
diffKey String
no setterinherited
diffSource → dynamic
no setterinherited
equalityHashCode int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isKnown bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

Methods

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

Operators

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

Static Properties

values List<TimeUnit>
getter/setter pair

Static Methods

encode(TimeUnit data) → dynamic
fromJson(dynamic data) TimeUnit?

Constants

days_ → const TimeUnit
hours_ → const TimeUnit
micros_ → const TimeUnit
millis_ → const TimeUnit
minutes_ → const TimeUnit
months_ → const TimeUnit
nanos_ → const TimeUnit
seconds_ → const TimeUnit
weeks_ → const TimeUnit
years_ → const TimeUnit