ImportWalletCommand constructor

ImportWalletCommand({
  1. required String walletId,
  2. required String walletName,
  3. String? xpriv,
  4. String? mnemonic,
  5. String? wif,
  6. int gapLimit = 20,
  7. String networkType = 'test',
  8. bool resume = false,
  9. List<String>? addresses,
  10. List<String> lockKeyWifs = const [],
  11. String? requestId,
})

Implementation

ImportWalletCommand({
  required this.walletId,
  required this.walletName,
  this.xpriv,
  this.mnemonic,
  this.wif,
  this.gapLimit = 20,
  this.networkType = 'test',
  this.resume = false,
  List<String>? addresses,
  List<String> lockKeyWifs = const [],
  super.requestId,
})  : addresses = frozenListOrNull(addresses),
      lockKeyWifs = frozenList(lockKeyWifs);