Operation constructor
Operation({
- Int64? counter,
- String? source,
- Int64? fee,
- Int64? gasLimit,
- Int64? storageLimit,
- Operation_OperationKind? kind,
- RevealOperationData? revealOperationData,
- TransactionOperationData? transactionOperationData,
- DelegationOperationData? delegationOperationData,
Implementation
factory Operation({
$fixnum.Int64? counter,
$core.String? source,
$fixnum.Int64? fee,
$fixnum.Int64? gasLimit,
$fixnum.Int64? storageLimit,
Operation_OperationKind? kind,
RevealOperationData? revealOperationData,
TransactionOperationData? transactionOperationData,
DelegationOperationData? delegationOperationData,
}) {
final _result = create();
if (counter != null) {
_result.counter = counter;
}
if (source != null) {
_result.source = source;
}
if (fee != null) {
_result.fee = fee;
}
if (gasLimit != null) {
_result.gasLimit = gasLimit;
}
if (storageLimit != null) {
_result.storageLimit = storageLimit;
}
if (kind != null) {
_result.kind = kind;
}
if (revealOperationData != null) {
_result.revealOperationData = revealOperationData;
}
if (transactionOperationData != null) {
_result.transactionOperationData = transactionOperationData;
}
if (delegationOperationData != null) {
_result.delegationOperationData = delegationOperationData;
}
return _result;
}