Wallet constructor

Wallet({@required UniqueId id, @required WalletInfo walletInfo })

Implementation

factory Wallet({@required UniqueId id, @required WalletInfo walletInfo}) {
  assert(id != null, 'Wallet [id] should not be null');
  assert(walletInfo != null, 'Wallet [walletInfo] should not be null');
  return Wallet._(id, walletInfo);
}