realtime property
String
get
realtime
Converts milliseconds since epoch to a human-readable relative time string.
Example:
int myTime = DateProvider.currentMS;
String relativeTime = DateProvider.realtime(myTime);
print(relativeTime); // Output: "Now" or "2 hours ago" or "Yesterday at 10:30 AM"
Implementation
String get realtime => toRealtime();