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. RuntimeCall? runtimeCall,
})

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,
  $10.Era? era,
  $core.List<$core.int>? privateKey,
  $core.int? network,
  RuntimeCall? runtimeCall,
}) {
  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 (runtimeCall != null) {
    $result.runtimeCall = runtimeCall;
  }
  return $result;
}