copyWith method

DateRange copyWith({
  1. DateTime? start,
  2. DateTime? end,
})

Implementation

DateRange copyWith({
  DateTime? start,
  DateTime? end,
}) =>
    DateRange(
      start ?? this.start,
      end ?? this.end,
    );