SessionData({this.token, this.login, this.user, List<BaseLog>? logs}) { if (logs != null) this.logs = logs; }