reverse static method

String reverse(
  1. String text
)

Implementation

static String reverse(String text) =>
    String.fromCharCodes(text.runes.toList().reversed);