subtractDays method

DateTime subtractDays(
  1. int days
)

subtractDays(): Subtracts a specified number of days from a DateTime.

Implementation

DateTime subtractDays(int days) {
  return subtract(Duration(days: days));
}