Future<String> toBase64() async { Uint8List bytes = await readAsBytes(); return base64Encode(bytes); }