daysBetween method

int daysBetween(
  1. DateTime other
)

Implementation

int daysBetween(DateTime other) => (difference(other).inHours / 24).round();