copyWith method

$FespSwitchBuilderData copyWith({
  1. bool? value,
  2. void onChanged(
    1. bool value
    )?,
  3. void onFocusChange(
    1. bool value
    )?,
})

Implementation

$FespSwitchBuilderData copyWith({
  bool? value,
  void Function(bool value)? onChanged,
  void Function(bool value)? onFocusChange,
}) {
  return $FespSwitchBuilderData(
    value: value ?? this.value,
    onChanged: onChanged ?? this.onChanged,
    onFocusChange: onFocusChange ?? this.onFocusChange,
  );
}