title: Flutter convert Image to base64 and base64 String to Image
body: <p>Hello i want to convert a Image to a base64 String and then convert it back to an Image.
  This is how I did it:</p>
  
  <pre><code> File pickedImage = await ImagePicker.pickImage(
        source: ImageSource.gallery
      );
   List&lt;int&gt; test = pickedImage.readAsBytesSync();
   String test2 = base64Encode(test);
   Uint8List test3 = base64Decode(test2);
   File test4 = new File.fromRawPath(test3);
   FirebaseVisionImage ourImage = FirebaseVisionImage.fromFile(test4);
  </code></pre>
  
  <p>I get a error and when i want to print test4 i get only questionmarks. When I print pickedImage I get this: </p>
  
  <pre><code>File: '/storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20190503-WA0005.jpg'
  </code></pre>