differenceFrom method

Duration differenceFrom(
  1. DateTime other
)

Returns the difference duration between this date and other.

Implementation

Duration differenceFrom(DateTime other) => difference(other);