before method
Returns the period before the given period
by the rule:
The Period.start is given to this of. The given duration
is
subtracted from the start of the resulting period and this is given to
of.
Implementation
T before(
Period period, {
Duration duration = const Duration(microseconds: 1),
}) =>
of(of(period.start).start.subtract(duration));