SigningInput constructor

SigningInput({
  1. String? fromAddress,
  2. String? toAddress,
  3. List<int>? amount,
  4. List<int>? fee,
  5. String? payload,
  6. Int64? ttl,
  7. Int64? nonce,
  8. List<int>? privateKey,
})

Implementation

factory SigningInput({
  $core.String? fromAddress,
  $core.String? toAddress,
  $core.List<$core.int>? amount,
  $core.List<$core.int>? fee,
  $core.String? payload,
  $fixnum.Int64? ttl,
  $fixnum.Int64? nonce,
  $core.List<$core.int>? privateKey,
}) {
  final $result = create();
  if (fromAddress != null) {
    $result.fromAddress = fromAddress;
  }
  if (toAddress != null) {
    $result.toAddress = toAddress;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (fee != null) {
    $result.fee = fee;
  }
  if (payload != null) {
    $result.payload = payload;
  }
  if (ttl != null) {
    $result.ttl = ttl;
  }
  if (nonce != null) {
    $result.nonce = nonce;
  }
  if (privateKey != null) {
    $result.privateKey = privateKey;
  }
  return $result;
}