toModel method
Constructs a Session from this event.
Implementation
Session toModel() {
return Session(
id: id,
ip: ip,
userAgent: userAgent,
lastActivatedAt: at,
// TODO: Replace when backend introduces [SiteDomain] in
// [EventSessionRefreshed].
siteDomain: SiteDomain(''),
);
}