reverse method

String reverse()

Reverses the string. Example: "hello""olleh"

Implementation

String reverse() => split('').reversed.join();