copyWith abstract method

FieldBlocState<Value, Suggestion, ExtraData> copyWith({
  1. bool? isValueChanged,
  2. Param<Value>? initialValue,
  3. Param<Value>? updatedValue,
  4. Param<Value>? value,
  5. Param<Object?>? error,
  6. bool? isDirty,
  7. Param<Suggestions<Suggestion>?>? suggestions,
  8. bool? isValidated,
  9. bool? isValidating,
  10. Param<FormBloc?> formBloc,
  11. Param<ExtraData>? extraData,
})

Returns a copy of the current state by changing the values that are passed as parameters.

Implementation

FieldBlocState<Value, Suggestion, ExtraData> copyWith({
  bool? isValueChanged,
  Param<Value>? initialValue,
  Param<Value>? updatedValue,
  Param<Value>? value,
  Param<Object?>? error,
  bool? isDirty,
  Param<Suggestions<Suggestion>?>? suggestions,
  bool? isValidated,
  bool? isValidating,
  Param<FormBloc?> formBloc,
  Param<ExtraData>? extraData,
});