after method

T after(
  1. Period period, {
  2. Duration duration = const Duration(microseconds: 1),
})

Returns the period after the given period by the rule: The Period.end is given to this of. The given duration is added to the end of the resulting period and this is given to of.

Implementation

T after(
  Period period, {
  Duration duration = const Duration(microseconds: 1),
}) =>
    of(of(period.end).end.add(duration));