toString method

  1. @override
String toString()
override

Returns the mnemonic phrase as a string with words separated by spaces.

Implementation

@override
String toString() {
  final mnemonic = mnemonicBytes.encode();
  return "${mnemonic.substring(0, mnemonic.length ~/ 4)}...";
}