copyWith method

DateRange copyWith({
  1. String? beginning,
  2. String? ending,
})

Implementation

DateRange copyWith({String? beginning, String? ending}) {
  return DateRange(
      beginning: beginning ?? this.beginning, ending: ending ?? this.ending);
}