toCompanion method
Implementation
KalamActionsCompanion toCompanion(bool nullToAbsent) {
return KalamActionsCompanion(
id: Value(id),
accountKey: Value(accountKey),
actionKey: Value(actionKey),
version: Value(version),
kind: Value(kind),
payloadJson: Value(payloadJson),
status: Value(status),
orderingKey: orderingKey == null && nullToAbsent
? const Value.absent()
: Value(orderingKey),
rowTableId: rowTableId == null && nullToAbsent
? const Value.absent()
: Value(rowTableId),
rowKey: rowKey == null && nullToAbsent
? const Value.absent()
: Value(rowKey),
queuePosition: Value(queuePosition),
attemptCount: Value(attemptCount),
nextAttemptAt: nextAttemptAt == null && nullToAbsent
? const Value.absent()
: Value(nextAttemptAt),
lastError: lastError == null && nullToAbsent
? const Value.absent()
: Value(lastError),
createdAt: Value(createdAt),
updatedAt: Value(updatedAt),
);
}