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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value String
Returns value of enum
read-onlyinherited

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
TimeStampStyle.shortDateTime
longDate → const TimeStampStyle
Long Date
TimeStampStyle._create("D")
longDateTime → const TimeStampStyle
Long Date/Time
TimeStampStyle._create("F")
longTime → const TimeStampStyle
Long Time
TimeStampStyle._create("T")
relativeTime → const TimeStampStyle
Relative Time
TimeStampStyle._create("R")
shortDate → const TimeStampStyle
Short Date
TimeStampStyle._create("d")
shortDateTime → const TimeStampStyle
Short Date/Time
TimeStampStyle._create("f")
shortTime → const TimeStampStyle
Short Time
TimeStampStyle._create("t")