Encodes a UTF-8 string to base64
static String base64Enc(String input) { final bytes = utf8.encode(input); return base64Encode(bytes); }