copyWithWrapped method

DateRange copyWithWrapped({
  1. Wrapped<String>? beginning,
  2. Wrapped<String>? ending,
})

Implementation

DateRange copyWithWrapped(
    {Wrapped<String>? beginning, Wrapped<String>? ending}) {
  return DateRange(
      beginning: (beginning != null ? beginning.value : this.beginning),
      ending: (ending != null ? ending.value : this.ending));
}