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