addSeconds method

DateTime addSeconds(
  1. int seconds
)

addSeconds(): Adds a specified number of seconds to a DateTime.

Implementation

DateTime addSeconds(int seconds) {
  return add(Duration(seconds: seconds));
}