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 {
  List<CloudinaryResponse> responses = List();

  for (var path in imagePaths) {
    CloudinaryResponse resp = await _client.uploadImage(path,
        imageFilename: filename, folder: folder);
    responses.add(resp);
  }
  return responses;
}