copyWith method

SessionRow copyWith({
  1. String? id,
  2. String? ip,
  3. String? userAgent,
  4. PreciseDateTime? lastActivatedAt,
})

Implementation

SessionRow copyWith({
  String? id,
  String? ip,
  String? userAgent,
  PreciseDateTime? lastActivatedAt,
}) => SessionRow(
  id: id ?? this.id,
  ip: ip ?? this.ip,
  userAgent: userAgent ?? this.userAgent,
  lastActivatedAt: lastActivatedAt ?? this.lastActivatedAt,
);