uploadedFiles property

List<UploadedFile>? uploadedFiles

Returns a mutable map of the files parsed from the request body.

Note that parseBody must be called first.

Implementation

List<UploadedFile>? get uploadedFiles {
  if (!hasParsedBody) {
    throw StateError('The request body has not been parsed yet.');
  }

  return _uploadedFiles;
}