addSeconds method

DateTime addSeconds(
  1. int amount
)

Adds the specified number of seconds to this DateTime.

Implementation

DateTime addSeconds(int amount) => add(Duration(seconds: amount));