updateField method
Returns a new instance of FormX with the new value of the field without validating it, which means this will not update the value of FormXState.isFormValid.
Implementation
FormX<T> updateField(newValue, T key) {
final inputMap = _cloneStateMap;
inputMap[key] = inputMap[key]!.updateValue(newValue);
return FormX<T>._(inputMap);
}