reversed property
String
get
reversed
Reverses the characters in the string. Handles Unicode characters correctly.
Implementation
String get reversed =>
// Convert to runes for Unicode safety, reverse the list, and convert back to a string.
String.fromCharCodes(runes.toList().reversed);