reverse method

String reverse()

Implementation

String reverse() {
  return this.split("").reversed.toList().join("");
}