Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
bytes (int b )
→ String
clock (int timestamp )
→ String
14:03:22
dateTime (int timestamp )
→ String
07-13 14:03:22
relative (int timestamp , {DateTime ? now })
→ String
Coarse "how fresh is this" label. Deliberately recomputed on rebuild
rather than driven by a timer — a slightly stale label costs nothing,
a permanently-ticking Timer in an inspector overlay does.
relativeAndClock (int timestamp , {DateTime ? now })
→ String
2 分钟前 · 14:03:22 — freshness and the exact instant, side by side, so
the reader can both judge recency and line the record up against a log.