Mnemonic.fromString constructor

Mnemonic.fromString(
  1. String mnemonicStr
)

Creates a new Mnemonic instance from a mnemonic phrase provided as a string. The provided mnemonic string is normalized into a list of words.

Implementation

Mnemonic.fromString(String mnemonicStr)
    : _mnemonicList = List<String>.unmodifiable(_normalize(mnemonicStr));