to method

TimeRange to(
  1. DateTime stop, [
  2. Duration step = const Duration(days: 1)
])

Implementation

TimeRange to(DateTime stop, [Duration step = const Duration(days: 1)]) =>
    TimeRange(this, stop, step);