uploadImages method

Future<List<CloudinaryResponse>> uploadImages(
  1. List<String> imagePaths, {
  2. String? filename,
  3. String? folder,
})

Implementation

Future<List<CloudinaryResponse>> uploadImages(List<String> imagePaths, {String? filename, String? folder}) async {
  var responses = <CloudinaryResponse>[];
  for (final path in imagePaths) {
    var resp = await _client.uploadImage(path, imageFilename: filename, folder: folder);
    responses.add(resp);
  }
  return responses;
}