add method
Returns the result of adding a duration to this offset date and time.
duration
: The duration to add
Returns: A new OffsetDateTime representing the result of the addition.
Implementation
OffsetDateTime add(Time time) => OffsetDateTime._fromInstant(toInstant() + time, offset);