add method

  1. @override
Moment add(
  1. Duration duration
)
override

Returns new Moment with added duration

Adds the duration using DateTime.add(duration)

Implementation

@override
Moment add(Duration duration) =>
    Moment(super.add(duration), localization: _localization);