DateTimeModifier.seconds constructor

const DateTimeModifier.seconds(
  1. num seconds
)

Adds or subtracts seconds seconds from this date time value.

Note that drift assumes date time values to be encoded as unix timestamps (with second accuracy) in the database. So adding seconds with a fractional value may not always be preserved in a chain of computation.

Implementation

const DateTimeModifier.seconds(num seconds) : this._('$seconds seconds');