addOrSubtractSeconds method
Adds or subtracts the specified number of seconds from this DateTime. Using a positive value (e.g., 1) adds seconds, while a negative value (e.g., -1) subtracts seconds.
Implementation
DateTime addOrSubtractSeconds(int seconds) => add(Duration(seconds: seconds));