Mnemonic.deserialize constructor

Mnemonic.deserialize({
  1. List<int>? bytes,
  2. CborObject<Object?>? object,
})

Implementation

factory Mnemonic.deserialize({List<int>? bytes, CborObject? object}) {
  final values = CborTagSerializable.decodeTaggedValue(
    identifier: BlockchainUtilsSerializationIdentifier.mnemonic,
    cborBytes: bytes,
    cborObject: object,
  );
  return Mnemonic.fromString(values.rawValueAt(0));
}