static String decode(String? text) { if (text == null || text.isEmpty) return ''; try { return utf8.decode(base64.decode(text)); } catch (e) { debugPrint('Decode Error: $e'); return text; } }