copyWith method

ActiveWindowFilter copyWith({
  1. bool? hide,
  2. String? value,
  3. ActiveWindowFilterType? type,
  4. ActiveWindowProperty? field,
})

Implementation

ActiveWindowFilter copyWith({
  bool? hide,
  String? value,
  ActiveWindowFilterType? type,
  ActiveWindowProperty? field,
}) {
  return ActiveWindowFilter(
    hide: hide ?? this.hide,
    field: field ?? this.field,
    type: type ?? this.type,
    value: value ?? this.value,
  );
}