reversed property

  1. @useResult
String get reversed

Returns a new string with all characters reversed. Handles Unicode correctly.

Implementation

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