copyWith method

KalamRowStatesCompanion copyWith({
  1. Value<String>? accountKey,
  2. Value<String>? tableId,
  3. Value<String>? rowKey,
  4. Value<String>? phase,
  5. Value<String?>? actionId,
  6. Value<int>? attemptCount,
  7. Value<DateTime?>? nextRetryAt,
  8. Value<String?>? errorCode,
  9. Value<String?>? errorMessage,
  10. Value<String?>? lastServerSeq,
  11. Value<String?>? pendingValuesJson,
  12. Value<bool>? tombstone,
  13. Value<DateTime>? updatedAt,
  14. Value<int>? rowid,
})

Implementation

KalamRowStatesCompanion copyWith({
  Value<String>? accountKey,
  Value<String>? tableId,
  Value<String>? rowKey,
  Value<String>? phase,
  Value<String?>? actionId,
  Value<int>? attemptCount,
  Value<DateTime?>? nextRetryAt,
  Value<String?>? errorCode,
  Value<String?>? errorMessage,
  Value<String?>? lastServerSeq,
  Value<String?>? pendingValuesJson,
  Value<bool>? tombstone,
  Value<DateTime>? updatedAt,
  Value<int>? rowid,
}) {
  return KalamRowStatesCompanion(
    accountKey: accountKey ?? this.accountKey,
    tableId: tableId ?? this.tableId,
    rowKey: rowKey ?? this.rowKey,
    phase: phase ?? this.phase,
    actionId: actionId ?? this.actionId,
    attemptCount: attemptCount ?? this.attemptCount,
    nextRetryAt: nextRetryAt ?? this.nextRetryAt,
    errorCode: errorCode ?? this.errorCode,
    errorMessage: errorMessage ?? this.errorMessage,
    lastServerSeq: lastServerSeq ?? this.lastServerSeq,
    pendingValuesJson: pendingValuesJson ?? this.pendingValuesJson,
    tombstone: tombstone ?? this.tombstone,
    updatedAt: updatedAt ?? this.updatedAt,
    rowid: rowid ?? this.rowid,
  );
}