How to add File to Array (List)
I got an image from ImagePicker
var image = await ImagePicker.pickImage(source: imageSource);
_images are declared by followed
List<File> _images = List<File>();
I tried as Follows
_images = image as List<File>
But I got errors like this
Unhandled Exception: type '_File' is not a subtype of type 'List' in type cast