TimeStampStyle class Null safety
Style of inline timestamp that can be embedded into message
Constructors
- TimeStampStyle.from(String value)
-
Create instance of TimeStampStyle from
value
Properties
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
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")