title: how to encode dart image object with base64
body: <p>I want to encode an Image object (not from a file) with base64</p>
  <p>Eg: this code <code>Image img = Image.memory(base64Decode(decoded(image)));</code> shows how to convert base64 string to Image Object, then how can i reverse this operation ?</p>