SessionsCompanion.insert constructor

SessionsCompanion.insert({
  1. required String id,
  2. required String ip,
  3. required String userAgent,
  4. required PreciseDateTime lastActivatedAt,
  5. Value<int> rowid = const Value.absent(),
})

Implementation

SessionsCompanion.insert({
  required String id,
  required String ip,
  required String userAgent,
  required PreciseDateTime lastActivatedAt,
  this.rowid = const Value.absent(),
})  : id = Value(id),
      ip = Value(ip),
      userAgent = Value(userAgent),
      lastActivatedAt = Value(lastActivatedAt);