SigningInput constructor

SigningInput({
  1. Int64? amount,
  2. Int64? fee,
  3. int? sequence,
  4. int? lastLedgerSequence,
  5. String? account,
  6. String? destination,
  7. Int64? destinationTag,
  8. Int64? flags,
  9. List<int>? privateKey,
})

Implementation

factory SigningInput({
  $fixnum.Int64? amount,
  $fixnum.Int64? fee,
  $core.int? sequence,
  $core.int? lastLedgerSequence,
  $core.String? account,
  $core.String? destination,
  $fixnum.Int64? destinationTag,
  $fixnum.Int64? flags,
  $core.List<$core.int>? privateKey,
}) {
  final _result = create();
  if (amount != null) {
    _result.amount = amount;
  }
  if (fee != null) {
    _result.fee = fee;
  }
  if (sequence != null) {
    _result.sequence = sequence;
  }
  if (lastLedgerSequence != null) {
    _result.lastLedgerSequence = lastLedgerSequence;
  }
  if (account != null) {
    _result.account = account;
  }
  if (destination != null) {
    _result.destination = destination;
  }
  if (destinationTag != null) {
    _result.destinationTag = destinationTag;
  }
  if (flags != null) {
    _result.flags = flags;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  return _result;
}