copyWith method

FeatureStateUpdate copyWith({
  1. dynamic value,
  2. bool? updateValue,
  3. bool? lock,
})

Implementation

FeatureStateUpdate copyWith({
  dynamic value,
  bool? updateValue,
  bool? lock,
}) {
  final _copy_value = value ?? this.value;

  final _copy_updateValue = updateValue ?? this.updateValue;

  final _copy_lock = lock ?? this.lock;

  return FeatureStateUpdate(
    value: _copy_value,
    updateValue: _copy_updateValue,
    lock: _copy_lock,
  );
}