reversed property
String
get
reversed
Returns a new string with characters in reversed order.
Implementation
String get reversed {
var range = Characters(this).iteratorAtEnd;
var buffer = StringBuffer();
while (range.moveBack()) {
buffer.write(range.current);
}
return buffer.toString();
}