RawTransaction constructor
RawTransaction({})
Implementation
factory RawTransaction({
$core.List<$core.int>? hash,
$core.List<$core.int>? from,
$core.List<$core.int>? to,
$core.List<$core.int>? value,
$fixnum.Int64? nonce,
$fixnum.Int64? timestamp,
Data? data,
$core.int? chainId,
$core.List<$core.int>? gasPrice,
$core.List<$core.int>? gasLimit,
$core.int? alg,
$core.List<$core.int>? sign,
}) {
final _result = create();
if (hash != null) {
_result.hash = hash;
}
if (from != null) {
_result.from = from;
}
if (to != null) {
_result.to = to;
}
if (value != null) {
_result.value = value;
}
if (nonce != null) {
_result.nonce = nonce;
}
if (timestamp != null) {
_result.timestamp = timestamp;
}
if (data != null) {
_result.data = data;
}
if (chainId != null) {
_result.chainId = chainId;
}
if (gasPrice != null) {
_result.gasPrice = gasPrice;
}
if (gasLimit != null) {
_result.gasLimit = gasLimit;
}
if (alg != null) {
_result.alg = alg;
}
if (sign != null) {
_result.sign = sign;
}
return _result;
}