SigningInput constructor

SigningInput({
  1. String? fromAddress,
  2. List<int>? chainId,
  3. List<int>? nonce,
  4. List<int>? gasPrice,
  5. List<int>? gasLimit,
  6. String? toAddress,
  7. List<int>? amount,
  8. List<int>? timestamp,
  9. String? payload,
  10. List<int>? privateKey,
})

Implementation

factory SigningInput({
  $core.String? fromAddress,
  $core.List<$core.int>? chainId,
  $core.List<$core.int>? nonce,
  $core.List<$core.int>? gasPrice,
  $core.List<$core.int>? gasLimit,
  $core.String? toAddress,
  $core.List<$core.int>? amount,
  $core.List<$core.int>? timestamp,
  $core.String? payload,
  $core.List<$core.int>? privateKey,
}) {
  final _result = create();
  if (fromAddress != null) {
    _result.fromAddress = fromAddress;
  }
  if (chainId != null) {
    _result.chainId = chainId;
  }
  if (nonce != null) {
    _result.nonce = nonce;
  }
  if (gasPrice != null) {
    _result.gasPrice = gasPrice;
  }
  if (gasLimit != null) {
    _result.gasLimit = gasLimit;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  if (payload != null) {
    _result.payload = payload;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  return _result;
}