ProtoSavedTransaction constructor

ProtoSavedTransaction({
  1. ProtoTransaction? tx,
  2. List<int>? feePerGas,
  3. List<int>? blockHash,
  4. Int64? timestamp,
})

Implementation

factory ProtoSavedTransaction({
  ProtoTransaction? tx,
  $core.List<$core.int>? feePerGas,
  $core.List<$core.int>? blockHash,
  $fixnum.Int64? timestamp,
}) {
  final _result = create();
  if (tx != null) {
    _result.tx = tx;
  }
  if (feePerGas != null) {
    _result.feePerGas = feePerGas;
  }
  if (blockHash != null) {
    _result.blockHash = blockHash;
  }
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  return _result;
}