jeudi 26 septembre 2019

How to mock ImagePicker

I use this package: image picker Now, I have this line of code:

File image = await ImagePicker.pickImage(source: ImageSource.camera);

that I would like to mock in my test, but I can't find a way to do it.

Aucun commentaire:

Enregistrer un commentaire