timeDifference property

TimeDifference get timeDifference

Returns the calculated TimeDifference.

Implementation

TimeDifference get timeDifference {
  final controller = RelativeDateTimeController(dateTime, other);
  return controller.calculateTimeDifference();
}