generateRandomMnemonic method
Generate a random mnemonic
password
will be used if it is passed to this method
You can also pass wordsCount
to specify number of words in your password list
Implementation
@override
Future<List<String>?> generateRandomMnemonic({String? password, int wordsCount = 24}) async {
final mnemonic = await methodChannel.invokeListMethod<String>('generateRandomMnemonic', {
'password': password,
'wordCount': wordsCount,
});
return mnemonic;
}