findLanguage abstract method
Finds the language of a mnemonic based on its words.
Subclasses must implement this method to discover the language of a mnemonic based on the provided mnemonic's words. It should return both the found MnemonicWordsList and the identified MnemonicLanguages.
Example usage:
final finder = SomeMnemonicWordsListFinder();
final result = finder.findLanguage(Mnemonic(['word1', 'word2']),);
final foundList = result.item1;
final foundLanguage = result.item2;
Implementation
Tuple<MnemonicWordsList, MnemonicLanguages> findLanguage(Mnemonic mnemonic);