SigningInput constructor

SigningInput({
  1. String? chainId,
  2. String? toAddress,
  3. List<int>? thetaAmount,
  4. List<int>? tfuelAmount,
  5. Int64? sequence,
  6. List<int>? fee,
  7. List<int>? privateKey,
})

Implementation

factory SigningInput({
  $core.String? chainId,
  $core.String? toAddress,
  $core.List<$core.int>? thetaAmount,
  $core.List<$core.int>? tfuelAmount,
  $fixnum.Int64? sequence,
  $core.List<$core.int>? fee,
  $core.List<$core.int>? privateKey,
}) {
  final _result = create();
  if (chainId != null) {
    _result.chainId = chainId;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (thetaAmount != null) {
    _result.thetaAmount = thetaAmount;
  }
  if (tfuelAmount != null) {
    _result.tfuelAmount = tfuelAmount;
  }
  if (sequence != null) {
    _result.sequence = sequence;
  }
  if (fee != null) {
    _result.fee = fee;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  return _result;
}