file method
The uploaded file of the key, or null when it is not a file. For a field with many files, use input.
RequestFile? photo = req.file('photo');
Implementation
RequestFile? file(String key) {
dynamic val = _valueOf(key);
return val is RequestFile ? val : null;
}