difference method

Duration difference(
  1. Time other
)

Returns the Duration between this time instance and other. The duration is positive if this time is later than other.

Implementation

Duration difference(Time other) => _dateTime.difference(other._dateTime);