Future<String> toBase64() async { String base64Image = base64Encode(readAsBytesSync()); return base64Image; }