copyWith method

TimeStampInterval copyWith({
  1. TimeStamp? newStart,
  2. TimeStamp? newEnd,
})

Implementation

TimeStampInterval copyWith({TimeStamp? newStart, TimeStamp? newEnd}) => TimeStampInterval(
      start: newStart ?? start,
      end: newEnd ?? end,
    );