reversed property

String reversed

Reverses the string.

Example:

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

Implementation

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