reverse
static String reverse(String? text) { if (isEmpty(text)) return ''; return text!.split('').reversed.join(); }