operator + method

  1. @override
LocalDateTime operator +(
  1. Duration duration
)
override

Returns a DateTime that represents this DateTime with the given duration added.

Implementation

@override
LocalDateTime operator + (Duration duration) => LocalDateTime.fromMicroseconds(microsecondsSinceEpoch + duration.inMicroseconds);