AsyncOperation constructor
AsyncOperation({
- RowVersion? rowVersion,
- AsyncOperationId? id,
- Timestamp? created,
- Timestamp? scheduledStart,
- Timestamp? lastChange,
- Timestamp? timeout,
- AsyncOperation_AsyncStatus? status,
- UserId? createdBy,
- Any? parameters,
- TraceIdentifier? traceId,
- int? partitionCount,
- int? itemCount,
- AsyncOperationResult? result,
- StringValue? displayName,
Implementation
factory AsyncOperation({
$0.RowVersion? rowVersion,
$1.AsyncOperationId? id,
$2.Timestamp? created,
$2.Timestamp? scheduledStart,
$2.Timestamp? lastChange,
$2.Timestamp? timeout,
AsyncOperation_AsyncStatus? status,
$1.UserId? createdBy,
$3.Any? parameters,
$1.TraceIdentifier? traceId,
$core.int? partitionCount,
$core.int? itemCount,
AsyncOperationResult? result,
$4.StringValue? displayName,
}) {
final result$ = create();
if (rowVersion != null) result$.rowVersion = rowVersion;
if (id != null) result$.id = id;
if (created != null) result$.created = created;
if (scheduledStart != null) result$.scheduledStart = scheduledStart;
if (lastChange != null) result$.lastChange = lastChange;
if (timeout != null) result$.timeout = timeout;
if (status != null) result$.status = status;
if (createdBy != null) result$.createdBy = createdBy;
if (parameters != null) result$.parameters = parameters;
if (traceId != null) result$.traceId = traceId;
if (partitionCount != null) result$.partitionCount = partitionCount;
if (itemCount != null) result$.itemCount = itemCount;
if (result != null) result$.result = result;
if (displayName != null) result$.displayName = displayName;
return result$;
}