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 = _find(key).value;
return val is RequestFile ? val : null;
}