RestoreWalletRequest constructor

RestoreWalletRequest({
  1. String? walletName,
  2. String? mnemonic,
  3. String? password,
})

Implementation

factory RestoreWalletRequest({
  $core.String? walletName,
  $core.String? mnemonic,
  $core.String? password,
}) {
  final _result = create();
  if (walletName != null) {
    _result.walletName = walletName;
  }
  if (mnemonic != null) {
    _result.mnemonic = mnemonic;
  }
  if (password != null) {
    _result.password = password;
  }
  return _result;
}