Returns the number of whole days between value and other. Returns null when value is null.
other
int? daysDifference(DateTime other) => value?.difference(other).inDays.abs();