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. Balance? balanceCall,
  11. Staking? stakingCall,
})

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,
  Balance? balanceCall,
  Staking? stakingCall,
}) {
  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 (balanceCall != null) {
    _result.balanceCall = balanceCall;
  }
  if (stakingCall != null) {
    _result.stakingCall = stakingCall;
  }
  return _result;
}