addOrRemoveSeconds method

DateTime addOrRemoveSeconds(
  1. int seconds
)

Adds or removes the specified number of seconds from this DateTime.

Implementation

DateTime addOrRemoveSeconds(int seconds) => add(Duration(seconds: seconds));