Session constructor

Session({
  1. required String id,
  2. String? ipAddress,
  3. String? userAgent,
  4. String? deviceType,
  5. String? browser,
  6. String? os,
  7. String? country,
  8. String? city,
  9. DateTime? createdAt,
  10. DateTime? lastActiveAt,
  11. bool? isCurrent,
})

Returns a new Session instance.

Implementation

Session({
  required this.id,
  this.ipAddress,
  this.userAgent,
  this.deviceType,
  this.browser,
  this.os,
  this.country,
  this.city,
  this.createdAt,
  this.lastActiveAt,
  this.isCurrent,
});