decodeFromNyaCodeSync method
Implementation
String decodeFromNyaCodeSync(String output) {
String result = '';
for (int i = 0; i < output.length - 1; i += 2) {
int h = dict.indexOf(output[i]);
int l = dict.indexOf(output[i + 1]);
int x = (h << 6) | l;
result += String.fromCharCode(x);
}
return Uri.decodeComponent(result);
}