Wallet.fromEncryptedJsonSync constructor

Wallet.fromEncryptedJsonSync(
  1. String json,
  2. String password
)

Create an instance from an encrypted JSON wallet.

This operation will operate synchronously which will lock up the user interface, possibly for a non-trivial duration. Most applications should use the asynchronous fromEncryptedJson instead.

Implementation

factory Wallet.fromEncryptedJsonSync(String json, String password) =>
    Wallet._(_WalletImpl.fromEncryptedJsonSync(json, password));