KalamRowStatesCompanion.insert constructor

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

Implementation

KalamRowStatesCompanion.insert({
  required String accountKey,
  required String tableId,
  required String rowKey,
  required String phase,
  this.actionId = const Value.absent(),
  this.attemptCount = const Value.absent(),
  this.nextRetryAt = const Value.absent(),
  this.errorCode = const Value.absent(),
  this.errorMessage = const Value.absent(),
  this.lastServerSeq = const Value.absent(),
  this.pendingValuesJson = const Value.absent(),
  this.tombstone = const Value.absent(),
  required DateTime updatedAt,
  this.rowid = const Value.absent(),
}) : accountKey = Value(accountKey),
     tableId = Value(tableId),
     rowKey = Value(rowKey),
     phase = Value(phase),
     updatedAt = Value(updatedAt);