updateFile method
Updates a FileFieldState with a given value.
fieldNameThe name of the file field to update.valueThe new value for the file field.
Implementation
void updateFile(String fieldName, File? value) {
updateValue<FileFieldState, File?>(fieldName, value);
}