updateValue method

FormXField<V> updateValue(
  1. V newValue
)

Updates the value of the field, maintaining all other properties

Implementation

FormXField<V> updateValue(V newValue) => FormXField._(
      value: newValue,
      validators: validators,
      errorMessage: errorMessage,
      isValid: isValid,
      onValidationError: onValidationError,
    );