updateFile method

void updateFile(
  1. String fieldName,
  2. File? value
)

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);
}