copyWith method

CustomFieldContextDefaultValueDate copyWith({
  1. String? date,
  2. String? type,
  3. bool? useCurrent,
})

Implementation

CustomFieldContextDefaultValueDate copyWith(
    {String? date, String? type, bool? useCurrent}) {
  return CustomFieldContextDefaultValueDate(
    date: date ?? this.date,
    type: type ?? this.type,
    useCurrent: useCurrent ?? this.useCurrent,
  );
}