getFile method

File getFile()

Implementation

File getFile() {
  // 获取文件
  var fileName = request.uri.pathSegments.last;
  return File(fileName);
}