core.Map<core.String, core.dynamic> toJson() => { if (ipAddress != null) 'ipAddress': ipAddress!, if (loginTime != null) 'loginTime': loginTime!, };