DurationTersity class

Provides constants used to control terity of prettyDuration and printDuration.

Properties

hashCode int
The hash code for this object.
no setterinherited
mod int
final
name String
final
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.
override

Operators

operator <(DurationTersity other) bool
operator <=(DurationTersity other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(DurationTersity other) bool
operator >=(DurationTersity other) bool

Constants

day → const DurationTersity
Skip all time units below day
hour → const DurationTersity
Skip all time units below hour
list → const List<DurationTersity>
microsecond → const DurationTersity
Skip all time units below microsecond
millisecond → const DurationTersity
Skip all time units below millisecond
minute → const DurationTersity
Skip all time units below minute
second → const DurationTersity
Skip all time units below second
week → const DurationTersity
Skip all time units below week