SigningInput constructor

SigningInput({
  1. List<int>? blockHash,
  2. List<int>? genesisHash,
  3. Int64? nonce,
  4. int? specVersion,
  5. int? transactionVersion,
  6. List<int>? tip,
  7. Era? era,
  8. List<int>? privateKey,
  9. int? network,
  10. bool? multiAddress,
  11. Balance? balanceCall,
  12. Staking? stakingCall,
  13. bool? chargeNativeAsAssetTxPayment,
})

Implementation

factory SigningInput({
  $core.List<$core.int>? blockHash,
  $core.List<$core.int>? genesisHash,
  $fixnum.Int64? nonce,
  $core.int? specVersion,
  $core.int? transactionVersion,
  $core.List<$core.int>? tip,
  Era? era,
  $core.List<$core.int>? privateKey,
  $core.int? network,
  $core.bool? multiAddress,
  Balance? balanceCall,
  Staking? stakingCall,
  $core.bool? chargeNativeAsAssetTxPayment,
}) {
  final $result = create();
  if (blockHash != null) {
    $result.blockHash = blockHash;
  }
  if (genesisHash != null) {
    $result.genesisHash = genesisHash;
  }
  if (nonce != null) {
    $result.nonce = nonce;
  }
  if (specVersion != null) {
    $result.specVersion = specVersion;
  }
  if (transactionVersion != null) {
    $result.transactionVersion = transactionVersion;
  }
  if (tip != null) {
    $result.tip = tip;
  }
  if (era != null) {
    $result.era = era;
  }
  if (privateKey != null) {
    $result.privateKey = privateKey;
  }
  if (network != null) {
    $result.network = network;
  }
  if (multiAddress != null) {
    $result.multiAddress = multiAddress;
  }
  if (balanceCall != null) {
    $result.balanceCall = balanceCall;
  }
  if (stakingCall != null) {
    $result.stakingCall = stakingCall;
  }
  if (chargeNativeAsAssetTxPayment != null) {
    $result.chargeNativeAsAssetTxPayment = chargeNativeAsAssetTxPayment;
  }
  return $result;
}