isOverlappingWithBuffer method
Implementation
bool isOverlappingWithBuffer(DateTimeRange other, int bufferTime) {
return start.isBefore(other.end.add(Duration(minutes: bufferTime))) &&
other.start.isBefore(end.add(Duration(minutes: bufferTime)));
}