copyWith method

CampaignDate copyWith({
  1. String? fromDate,
  2. String? fromDateTime,
  3. String? toDate,
  4. String? toDateTime,
})

Implementation

CampaignDate copyWith({  String? fromDate,
  String? fromDateTime,
  String? toDate,
  String? toDateTime,
}) => CampaignDate(  fromDate: fromDate ?? _fromDate,
  fromDateTime: fromDateTime ?? _fromDateTime,
  toDate: toDate ?? _toDate,
  toDateTime: toDateTime ?? _toDateTime,
);