subtractSeconds method

DateTime subtractSeconds(
  1. int seconds
)

subtractSeconds(): Subtracts a specified number of seconds from a DateTime.

Implementation

DateTime subtractSeconds(int seconds) {
  return subtract(Duration(seconds: seconds));
}