formatDuration method

String formatDuration(
  1. DateTime reference
)

NOT YET IMPLEMENTED.

Returns a date string indicating how long ago (3 hours, 2 minutes) something has happened or how long in the future something will happen given a reference DateTime relative to the current time.

Implementation

String formatDuration(DateTime reference) => '';