uploadMultiImage static method
Implementation
static Future<List<String>> uploadMultiImage(pickedFiles) async {
if (pickedFiles != null && pickedFiles.isNotEmpty) {
List<String> images = [];
for (var file in pickedFiles) {
var img = await OssHelper.upload(file: File(file.path));
images.add(img);
}
return images;
}
return [];
}