util/file-utils library

Classes

UploadFilesType

Functions

chunkify(List<FileMetadata> files, [int chunkSize = 10]) List<List<FileMetadata>>
listFilesRecursive(String folderPath, {List<FileMetadata>? fileList, String relativePath = ''}) List<FileMetadata>
uploadFiles(String? folderPath, String apiPrefix, IFileUploadRequest? params, List<FileMetadata>? files) Future<UploadFilesType>
uploadFilesToS3(List<FileMetadata> uploadLinks, List<FileMetadata> files) Future<void>
uuidv4() String