reverse method

String reverse()

Reverses the string

Implementation

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