TransactionPlan constructor
TransactionPlan({})
Implementation
factory TransactionPlan({
$core.Iterable<CellDep>? cellDeps,
$core.Iterable<$core.List<$core.int>>? headerDeps,
$core.Iterable<Cell>? selectedCells,
$core.Iterable<CellOutput>? outputs,
$core.Iterable<$core.List<$core.int>>? outputsData,
$0.SigningError? error,
}) {
final _result = create();
if (cellDeps != null) {
_result.cellDeps.addAll(cellDeps);
}
if (headerDeps != null) {
_result.headerDeps.addAll(headerDeps);
}
if (selectedCells != null) {
_result.selectedCells.addAll(selectedCells);
}
if (outputs != null) {
_result.outputs.addAll(outputs);
}
if (outputsData != null) {
_result.outputsData.addAll(outputsData);
}
if (error != null) {
_result.error = error;
}
return _result;
}