isSameDay method

bool isSameDay(
  1. DateTime other
)

Implementation

bool isSameDay(DateTime other) {
  return startOfDay == other.startOfDay;
}