copyWith method

SpinnerFenceState copyWith({
  1. bool? singleConditionAndSingleSelect,
  2. bool? isCompleted,
  3. bool? onlyClosed,
  4. List<int>? idxList,
  5. SpinnerEntity? data,
})

Implementation

SpinnerFenceState copyWith({
  bool? singleConditionAndSingleSelect,
  bool? isCompleted,
  bool? onlyClosed,
  List<int>? idxList,
  SpinnerEntity? data,
}) =>
    SpinnerFenceState(
      singleConditionAndSingleSelect: singleConditionAndSingleSelect ??
          this.singleConditionAndSingleSelect,
      isCompleted: isCompleted ?? this.isCompleted,
      data: data ?? this.data,
      idxList: idxList ?? this.idxList,
      onlyClosed: onlyClosed ?? this.onlyClosed,
    );