reverse static method

String reverse(
  1. String? string
)

Returns a string with reversed order of characters.

If string is null then returns an empty string.

Example: print(reverse("hello")); => olleh

Implementation

static String reverse(String? string) => Transform.reverse(string);