TransactionPlan constructor
TransactionPlan({})
Implementation
factory TransactionPlan({
$0.SigningError? error,
$core.String? errorMessage,
$core.Iterable<Input>? inputs,
$core.Iterable<Output>? outputs,
$fixnum.Int64? availableAmount,
$fixnum.Int64? sendAmount,
$fixnum.Int64? vsizeEstimate,
$fixnum.Int64? feeEstimate,
$fixnum.Int64? change,
}) {
final $result = create();
if (error != null) {
$result.error = error;
}
if (errorMessage != null) {
$result.errorMessage = errorMessage;
}
if (inputs != null) {
$result.inputs.addAll(inputs);
}
if (outputs != null) {
$result.outputs.addAll(outputs);
}
if (availableAmount != null) {
$result.availableAmount = availableAmount;
}
if (sendAmount != null) {
$result.sendAmount = sendAmount;
}
if (vsizeEstimate != null) {
$result.vsizeEstimate = vsizeEstimate;
}
if (feeEstimate != null) {
$result.feeEstimate = feeEstimate;
}
if (change != null) {
$result.change = change;
}
return $result;
}