copyWith method

SessionsCompanion copyWith({
  1. Value<String>? id,
  2. Value<String>? ip,
  3. Value<String>? userAgent,
  4. Value<PreciseDateTime>? lastActivatedAt,
  5. Value<int>? rowid,
})

Implementation

SessionsCompanion copyWith(
    {Value<String>? id,
    Value<String>? ip,
    Value<String>? userAgent,
    Value<PreciseDateTime>? lastActivatedAt,
    Value<int>? rowid}) {
  return SessionsCompanion(
    id: id ?? this.id,
    ip: ip ?? this.ip,
    userAgent: userAgent ?? this.userAgent,
    lastActivatedAt: lastActivatedAt ?? this.lastActivatedAt,
    rowid: rowid ?? this.rowid,
  );
}