copyWith method
Implementation
NeuronFormState<T> copyWith({
T? value,
String? error,
bool? isDirty,
bool? isTouched,
}) {
return NeuronFormState<T>(
value: value ?? this.value,
error: error,
isDirty: isDirty ?? this.isDirty,
isTouched: isTouched ?? this.isTouched,
);
}