copyWith method

FilterAction<T> copyWith({
  1. bool? isEnabled,
})

Implementation

FilterAction<T> copyWith({
  bool? isEnabled,
}) =>
    FilterAction<T>(
      key: key,
      predicate: predicate,
      isEnabled: isEnabled ?? this.isEnabled,
    );