differenceInHours method

int differenceInHours(
  1. DateTime other
)

Implementation

int differenceInHours(DateTime other) => value.difference(other).inHours;