TransactionPlan constructor
TransactionPlan({
- Iterable<
TransactionOutputPlan> ? outputs, - Iterable<
TransactionInput> ? inputs, - Int64? fee,
- SigningError? error,
Implementation
factory TransactionPlan({
$core.Iterable<TransactionOutputPlan>? outputs,
$core.Iterable<TransactionInput>? inputs,
$fixnum.Int64? fee,
$0.SigningError? error,
}) {
final _result = create();
if (outputs != null) {
_result.outputs.addAll(outputs);
}
if (inputs != null) {
_result.inputs.addAll(inputs);
}
if (fee != null) {
_result.fee = fee;
}
if (error != null) {
_result.error = error;
}
return _result;
}