toModel method
Constructs a new Session from this SessionMixin.
Implementation
Session toModel() {
return Session(
id: id,
ip: ip,
lastActivatedAt: lastActivatedAt,
userAgent: userAgent,
);
}
Constructs a new Session from this SessionMixin.
Session toModel() {
return Session(
id: id,
ip: ip,
lastActivatedAt: lastActivatedAt,
userAgent: userAgent,
);
}