copyWith method

ClosingRange copyWith({
  1. DateTime? date,
  2. DateTime? start,
  3. DateTime? end,
})

Implementation

ClosingRange copyWith({
  DateTime? date,
  DateTime? start,
  DateTime? end,
}) {
  return ClosingRange(
    date: date ?? this.date,
    start: start ?? this.start,
    end: end ?? this.end,
  );
}