reversed property

String get reversed

Reverses the string.

Example:

print('hello'.reversed); // Output: 'olleh'

Implementation

String get reversed => String.fromCharCodes(runes.toList().reversed);