addOrRemoveDay method

dynamic addOrRemoveDay(
  1. int days
)

to add days to a DateTime add a positive number to remove days pass a negative number

Implementation

addOrRemoveDay(int days) {
  return DateTime(year, month, day + days, minute, second);
}