CreateSessionRequest constructor
CreateSessionRequest({})
Implementation
factory CreateSessionRequest({
Checks? checks,
$core.Map<$core.String, $core.List<$core.int>>? metadata,
$6.RequestChallenges? challenges,
$5.UserAgent? userAgent,
$7.Duration? lifetime,
}) {
final $result = create();
if (checks != null) {
$result.checks = checks;
}
if (metadata != null) {
$result.metadata.addAll(metadata);
}
if (challenges != null) {
$result.challenges = challenges;
}
if (userAgent != null) {
$result.userAgent = userAgent;
}
if (lifetime != null) {
$result.lifetime = lifetime;
}
return $result;
}