TimeStampStyle class Null safety

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

Methods

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

Constants

def → const TimeStampStyle
Default style
TimeStampStyle.shortDateTime
longDate → const TimeStampStyle
Long Date
const TimeStampStyle._create("D")
longDateTime → const TimeStampStyle
Long Date/Time
const TimeStampStyle._create("F")
longTime → const TimeStampStyle
Long Time
const TimeStampStyle._create("T")
relativeTime → const TimeStampStyle
Relative Time
const TimeStampStyle._create("R")
shortDate → const TimeStampStyle
Short Date
const TimeStampStyle._create("d")
shortDateTime → const TimeStampStyle
Short Date/Time
const TimeStampStyle._create("f")
shortTime → const TimeStampStyle
Short Time
const TimeStampStyle._create("t")