updateText method
Updates a TextFieldState with a given value
.
fieldName
The name of the text field to update.value
The new value for the text field.
Implementation
void updateText(String fieldName, String? value) {
update<TextFieldState, String?>(fieldName, value);
}