reversed method
Returns the reversed string.
Example:
print("hello".reversed()); // "olleh"
Implementation
String reversed() =>
!isEmptyOrNull ? String.fromCharCodes(this!.codeUnits.reversed) : '';
Returns the reversed string.
Example:
print("hello".reversed()); // "olleh"
String reversed() =>
!isEmptyOrNull ? String.fromCharCodes(this!.codeUnits.reversed) : '';