decipher method

  1. @override
String decipher(
  1. String input
)
override

Decipher function.

Implementation

@override
String decipher(String input) {
  final runes = input.runes.toList();
  final first = runes[0];
  runes[0] = runes[index];
  runes[index] = first;
  return String.fromCharCodes(runes);
}