SigningInput constructor

SigningInput({
  1. String? fromAddress,
  2. String? toAddress,
  3. List<int>? value,
  4. List<int>? stepLimit,
  5. Int64? timestamp,
  6. List<int>? nonce,
  7. List<int>? networkId,
  8. List<int>? privateKey,
})

Implementation

factory SigningInput({
  $core.String? fromAddress,
  $core.String? toAddress,
  $core.List<$core.int>? value,
  $core.List<$core.int>? stepLimit,
  $fixnum.Int64? timestamp,
  $core.List<$core.int>? nonce,
  $core.List<$core.int>? networkId,
  $core.List<$core.int>? privateKey,
}) {
  final _result = create();
  if (fromAddress != null) {
    _result.fromAddress = fromAddress;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (value != null) {
    _result.value = value;
  }
  if (stepLimit != null) {
    _result.stepLimit = stepLimit;
  }
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  if (nonce != null) {
    _result.nonce = nonce;
  }
  if (networkId != null) {
    _result.networkId = networkId;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  return _result;
}