Execution constructor
Execution({})
Implementation
factory Execution({
$core.String? creator,
$core.String? id,
$core.String? recipeId,
$core.String? cookbookId,
$core.String? recipeVersion,
$fixnum.Int64? nodeVersion,
$fixnum.Int64? blockHeight,
$core.Iterable<ItemRecord>? itemInputs,
$core.Iterable<$2.Coin>? coinInputs,
$core.Iterable<$2.Coin>? coinOutputs,
$core.Iterable<$core.String>? itemOutputIds,
$core.Iterable<$core.String>? itemModifyOutputIds,
}) {
final _result = create();
if (creator != null) {
_result.creator = creator;
}
if (id != null) {
_result.id = id;
}
if (recipeId != null) {
_result.recipeId = recipeId;
}
if (cookbookId != null) {
_result.cookbookId = cookbookId;
}
if (recipeVersion != null) {
_result.recipeVersion = recipeVersion;
}
if (nodeVersion != null) {
_result.nodeVersion = nodeVersion;
}
if (blockHeight != null) {
_result.blockHeight = blockHeight;
}
if (itemInputs != null) {
_result.itemInputs.addAll(itemInputs);
}
if (coinInputs != null) {
_result.coinInputs.addAll(coinInputs);
}
if (coinOutputs != null) {
_result.coinOutputs.addAll(coinOutputs);
}
if (itemOutputIds != null) {
_result.itemOutputIds.addAll(itemOutputIds);
}
if (itemModifyOutputIds != null) {
_result.itemModifyOutputIds.addAll(itemModifyOutputIds);
}
return _result;
}