Session constructor

Session({
  1. String? extra,
  2. int? client_id,
  3. int64? id,
  4. Bool? is_current,
  5. Bool? is_password_pending,
  6. Bool? can_accept_secret_chats,
  7. Bool? can_accept_calls,
  8. SessionType? type,
  9. int32? api_id,
  10. string? application_name,
  11. string? application_version,
  12. Bool? is_official_application,
  13. string? device_model,
  14. string? platform,
  15. string? system_version,
  16. int32? log_in_date,
  17. int32? last_active_date,
  18. string? ip,
  19. string? country,
  20. string? region,
})

Implementation

Session({
  super.extra,
  super.client_id,
  this.id,
  this.is_current,
  this.is_password_pending,
  this.can_accept_secret_chats,
  this.can_accept_calls,
  this.type,
  this.api_id,
  this.application_name,
  this.application_version,
  this.is_official_application,
  this.device_model,
  this.platform,
  this.system_version,
  this.log_in_date,
  this.last_active_date,
  this.ip,
  this.country,
  this.region,
});