hoursUntil method

int hoursUntil(
  1. DateTime other
)

Returns the number of hours until other.

Implementation

int hoursUntil(DateTime other) => other.difference(this).inHours;