Session.create constructor
Create a new session
Implementation
factory Session.create(String userId, Duration duration) {
final now = DateTime.now();
return Session(
id: now.millisecondsSinceEpoch.toString() + '_' + userId,
userId: userId,
createdAt: now,
expiresAt: now.add(duration),
);
}