travelToEndOfMonth static method

void travelToEndOfMonth()

Travel to end of current month.

Implementation

static void travelToEndOfMonth() {
  final now = _testNow ?? DateTime.now();
  _testNow = DateTime(now.year, now.month + 1, 0, 23, 59, 59, 999);
}