removeFile method

void removeFile({
  1. required String fieldName,
})

Removes a file with the given fieldName

Implementation

void removeFile({required String fieldName}) {
  files.remove(fieldName);
}