convert string or text ro base64
static String stringToBase64({required String value}) { return base64.encode(utf8.encode(value)); }