TimeStampStyle class

Style of inline timestamp that can be embedded into message

Inheritance

Constructors

TimeStampStyle.from(String value)
Create instance of TimeStampStyle from value

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Returns value of enum
no setterinherited

Methods

format(DateTime dateTime) String
Return
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 ==(dynamic other) bool
The equality operator.
inherited

Constants

def → const TimeStampStyle
Default style
longDate → const TimeStampStyle
Long Date
longDateTime → const TimeStampStyle
Long Date/Time
longTime → const TimeStampStyle
Long Time
relativeTime → const TimeStampStyle
Relative Time
shortDate → const TimeStampStyle
Short Date
shortDateTime → const TimeStampStyle
Short Date/Time
shortTime → const TimeStampStyle
Short Time