isSameMinute method

bool isSameMinute(
  1. DateTime? other
)

Implementation

bool isSameMinute(DateTime? other) {
  if (this == null || other == null) return false;
  return this!.year == other.year &&
      this!.month == other.month &&
      this!.day == other.day &&
      this!.hour == other.hour &&
      this!.minute == other.minute;
}