String decodeString(String input)

Source

static String decodeString(String input) {
  return const Utf8Decoder().convert(decode(input));
}