Session constructor
Session({})
Implementation
factory Session({
$core.String? id,
$2.Timestamp? creationDate,
$2.Timestamp? changeDate,
$fixnum.Int64? sequence,
Factors? factors,
$core.Map<$core.String, $core.List<$core.int>>? metadata,
UserAgent? userAgent,
$2.Timestamp? expirationDate,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (creationDate != null) {
$result.creationDate = creationDate;
}
if (changeDate != null) {
$result.changeDate = changeDate;
}
if (sequence != null) {
$result.sequence = sequence;
}
if (factors != null) {
$result.factors = factors;
}
if (metadata != null) {
$result.metadata.addAll(metadata);
}
if (userAgent != null) {
$result.userAgent = userAgent;
}
if (expirationDate != null) {
$result.expirationDate = expirationDate;
}
return $result;
}